-
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 10 pull requests #73923
Rollup of 10 pull requests #73923
Commits on Jun 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 46bfc48 - Browse repository at this point
Copy the full SHA 46bfc48View commit details
Commits on Jun 18, 2020
-
This allows us to write fn char_to_string() -> String { 'a'.into() } which was not possible before.
Configuration menu - View commit details
-
Copy full SHA for 1d0378c - Browse repository at this point
Copy the full SHA 1d0378cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cde493 - Browse repository at this point
Copy the full SHA 2cde493View commit details
Commits on Jun 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 224bc05 - Browse repository at this point
Copy the full SHA 224bc05View commit details -
Make
likely
andunlikely
constThey are gated by internal feature gate const_likely
Configuration menu - View commit details
-
Copy full SHA for fc239e8 - Browse repository at this point
Copy the full SHA fc239e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 779b05d - Browse repository at this point
Copy the full SHA 779b05dView commit details
Commits on Jun 27, 2020
-
Update src/librustc_mir/interpret/intrinsics.rs
Co-authored-by: Oliver Scherer <github35764891676564198441@oli-obk.de>
Configuration menu - View commit details
-
Copy full SHA for 8b43012 - Browse repository at this point
Copy the full SHA 8b43012View commit details
Commits on Jun 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7231e57 - Browse repository at this point
Copy the full SHA 7231e57View commit details
Commits on Jun 29, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bb82e76 - Browse repository at this point
Copy the full SHA bb82e76View commit details
Commits on Jun 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1d7ba5f - Browse repository at this point
Copy the full SHA 1d7ba5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71b45b9 - Browse repository at this point
Copy the full SHA 71b45b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f632bd1 - Browse repository at this point
Copy the full SHA f632bd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69e4990 - Browse repository at this point
Copy the full SHA 69e4990View commit details -
Configuration menu - View commit details
-
Copy full SHA for f74a7d3 - Browse repository at this point
Copy the full SHA f74a7d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0889d79 - Browse repository at this point
Copy the full SHA 0889d79View commit details
Commits on Jul 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0d26512 - Browse repository at this point
Copy the full SHA 0d26512View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7616cd9 - Browse repository at this point
Copy the full SHA 7616cd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b438811 - Browse repository at this point
Copy the full SHA b438811View commit details -
Rollup merge of rust-lang#72071 - PankajChaudhary5:ErrorCode-E0687, r…
…=davidtwco Added detailed error code explanation for issue E0687 in Rust compiler. Added proper error explanation for issue E0687 in the Rust compiler. Error Code E0687 Sub Part of Issue rust-lang#61137 r? @GuillaumeGomez
Configuration menu - View commit details
-
Copy full SHA for ce57e7e - Browse repository at this point
Copy the full SHA ce57e7eView commit details -
Rollup merge of rust-lang#73466 - matthiaskrgr:char_into_string, r=dt…
…olnay impl From<char> for String This allows us to write ````rust fn char_to_string() -> String { 'a'.into() } ```` which was not possible before.
Configuration menu - View commit details
-
Copy full SHA for 14ecee5 - Browse repository at this point
Copy the full SHA 14ecee5View commit details -
Rollup merge of rust-lang#73705 - lcnr:skip_binder, r=nikomatsakis
stop taking references in Relate Adds a `Copy` bound to `Relate` and changes the type signatures to `T` from `&T`. While the `Copy` bound is not strictly necessary (i.e. the `Clone` bound of `TypeRelation` would be good enough), we don't need non `Copy` types and it simplifies the implementation. Removes the afaict unused impls for `Vec<ty::PolyExistentialProjection<'tcx>>`, `Rc<T>` and `Box<T>`. If they end up being relevant again the bound of `Relate` can be reduced to `T: Clone`. This also changes signature of `Binder::skip_binder` to `fn skip_binder(self) -> T`. `TypeError::ProjectionBoundsLength` was never used and is also removed in this PR. r? @nikomatsakis maybe 🤔 feel free to reassign
Configuration menu - View commit details
-
Copy full SHA for 51a0cfd - Browse repository at this point
Copy the full SHA 51a0cfdView commit details -
Rollup merge of rust-lang#73778 - nbdd0121:const_likely, r=oli-obk
Configuration menu - View commit details
-
Copy full SHA for ea718a6 - Browse repository at this point
Copy the full SHA ea718a6View commit details -
Rollup merge of rust-lang#73828 - nop:fix/parameter-name-help, r=este…
…bank Fix wording for anonymous parameter name help ``` --> exercises/functions/functions2.rs:8:15 | 8 | fn call_me(num) { | ^ expected one of `:`, `@`, or `|` | = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) help: if this is a `self` type, give it a parameter name | 8 | fn call_me(self: num) { | ^^^^^^^^^ help: if this was a parameter name, give it a type | 8 | fn call_me(num: TypeName) { | ^^^^^^^^^^^^^ help: if this is a type, explicitly ignore the parameter name | 8 | fn call_me(_: num) { | ``` This commit changes "if this was a parameter name" to "if this is a parameter name" to match the wording of similar errors.
Configuration menu - View commit details
-
Copy full SHA for e8decdc - Browse repository at this point
Copy the full SHA e8decdcView commit details -
Rollup merge of rust-lang#73868 - ecstatic-morse:fix-stable-version, …
…r=jonas-schievink Advertise correct stable version for const control flow rust-lang#72437 was opened before the 1.45 release but merged afterwards. These will be stable in 1.46.
Configuration menu - View commit details
-
Copy full SHA for 16ed9a9 - Browse repository at this point
Copy the full SHA 16ed9a9View commit details -
Rollup merge of rust-lang#73892 - GuillaumeGomez:cleanup-e0712, r=Dyl…
…an-DPC Clean up E0712 explanation r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 30d0db9 - Browse repository at this point
Copy the full SHA 30d0db9View commit details -
Rollup merge of rust-lang#73898 - lcnr:issue61383, r=jonas-schievink
remove duplicate test for rust-lang#61935 Apparently I somehow messed up the issue number in rust-lang#67890 which caused us to add this test twice, both as https://github.com/rust-lang/rust/blob/master/src/test/ui/const-generics/issues/issue-61935.rs and https://github.com/rust-lang/rust/blob/master/src/test/ui/const-generics/lazy-normalization/issue-71922.rs rust-lang#61935 is the actually fixed issue while rust-lang#71922 is still not working, as it depends on lazy norm of repeat expressions
Configuration menu - View commit details
-
Copy full SHA for 32e74ae - Browse repository at this point
Copy the full SHA 32e74aeView commit details -
Rollup merge of rust-lang#73906 - JohnTitor:missing-bt, r=jonas-schie…
…vink Add missing backtick in `ty_error_with_message`
Configuration menu - View commit details
-
Copy full SHA for 9d37005 - Browse repository at this point
Copy the full SHA 9d37005View commit details -
Rollup merge of rust-lang#73909 - eltonlaw:unsafe-libstd-fs-rs, r=sfa…
…ckler `#[deny(unsafe_op_in_unsafe_fn)]` in libstd/fs.rs The `libstd/fs.rs` part of rust-lang#73904 . Wraps the two calls to an unsafe fn `Initializer::nop()` in an `unsafe` block. Followed instructions in parent issue, ran `./x.py check src/libstd/` after adding the lint and two warnings were given. After adding these changes, those disappear.
Configuration menu - View commit details
-
Copy full SHA for b37816d - Browse repository at this point
Copy the full SHA b37816dView commit details