-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 4 pull requests #62511
Rollup of 4 pull requests #62511
Commits on Jul 3, 2019
-
typeck: merge opaque type inference logic
This commit merges the logic used for opaque type type inference for impl Trait and non-impl Trait cases. This fixes an ICE where existential types used in the return types of functions would be allowed to have an out-of-scope generic type parameter.
Configuration menu - View commit details
-
Copy full SHA for de8660a - Browse repository at this point
Copy the full SHA de8660aView commit details
Commits on Jul 5, 2019
-
Replace SliceConcatExt trait with inherent methods and SliceConcat he…
…lper trait Before this change `SliceConcatExt` was an unstable extension trait with stable methods. It was in the libstd prelude, so that its methods could be used on the stable channel. This replaces it with inherent methods, which can be used without any addition to the prelude. Since the methods are stable and very generic (with for example a return type that depends on the types of parameters), an helper trait is still needed. But now that trait does not need to be in scope for the methods to be used. Removing this depedency on the libstd prelude allows the methods to be used in `#![no_std]` crate that use liballoc, which does not have its own implicitly-imported prelude.
Configuration menu - View commit details
-
Copy full SHA for e808d92 - Browse repository at this point
Copy the full SHA e808d92View commit details
Commits on Jul 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e98ea52 - Browse repository at this point
Copy the full SHA e98ea52View commit details
Commits on Jul 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b06ed52 - Browse repository at this point
Copy the full SHA b06ed52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70d630f - Browse repository at this point
Copy the full SHA 70d630fView commit details
Commits on Jul 9, 2019
-
Rollup merge of rust-lang#60458 - KodrAus:debug_map_entry, r=alexcric…
…hton Add key and value methods to DebugMap Implementation PR for an active (not approved) RFC: rust-lang/rfcs#2696. Add two new methods to `std::fmt::DebugMap` for writing the key and value part of a map entry separately: ```rust impl<'a, 'b: 'a> DebugMap<'a, 'b> { pub fn key(&mut self, key: &dyn Debug) -> &mut Self; pub fn value(&mut self, value: &dyn Debug) -> &mut Self; } ``` I want to do this so that I can write a `serde::Serializer` that forwards to our format builders, so that any `T: Serialize` can also be treated like a `T: Debug`.
Configuration menu - View commit details
-
Copy full SHA for fb9ca03 - Browse repository at this point
Copy the full SHA fb9ca03View commit details -
Rollup merge of rust-lang#62090 - davidtwco:ice-async-await-out-of-ra…
…nge-substitution, r=nikomatsakis typeck: merge opaque type inference logic Fixes rust-lang#55872. See [relevant Zulip topic](https://rust-lang.zulipchat.com/#narrow/stream/187312-wg-async-foundations/topic/type.20parameter.20out.20of.20range.20.2355872). r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 3bbc421 - Browse repository at this point
Copy the full SHA 3bbc421View commit details -
Rollup merge of rust-lang#62403 - SimonSapin:concat, r=alexcrichton
Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait Before this change `SliceConcatExt` was an unstable extension trait with stable methods. It was in the libstd prelude, so that its methods could be used on the stable channel. This replaces it with inherent methods, which can be used without any addition to the prelude. Since the methods are stable and very generic (with for example a return type that depends on the types of parameters), an helper trait is still needed. But now that trait does not need to be in scope for the methods to be used. Removing this depedency on the libstd prelude allows the methods to be used in `#![no_std]` crate that use liballoc, which does not have its own implicitly-imported prelude.
Configuration menu - View commit details
-
Copy full SHA for bc18981 - Browse repository at this point
Copy the full SHA bc18981View commit details -
Rollup merge of rust-lang#62494 - sinkuu:unused_deps, r=alexcrichton
Remove unused dependencies
Configuration menu - View commit details
-
Copy full SHA for 4e5bccc - Browse repository at this point
Copy the full SHA 4e5bcccView commit details