-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 11 pull requests #55433
Rollup of 11 pull requests #55433
Commits on Oct 17, 2018
-
Initially landed in rust-lang#48292 and reverted in rust-lang#50401. This time, use `std::string::ParseError` as suggested in rust-lang#44431 (comment)
Configuration menu - View commit details
-
Copy full SHA for a0df420 - Browse repository at this point
Copy the full SHA a0df420View commit details
Commits on Oct 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for ac18635 - Browse repository at this point
Copy the full SHA ac18635View commit details
Commits on Oct 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 412ad9b - Browse repository at this point
Copy the full SHA 412ad9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b84550 - Browse repository at this point
Copy the full SHA 5b84550View commit details
Commits on Oct 23, 2018
-
Don't rerun Mir passes when inlining
When inlining a function using the Mir inliner, we shouldn't rerun the various Mir passes on it because the Mir has already been lowered and that wil break various early Mir passes. The issue in rust-lang#50411 is that we've inlined a function with promotions whose Mir has already been lowered. The promotions are then copied into the local function and we begin to run passes on their lowered Mir which causes the ICE. Fixes rust-lang#50411
Configuration menu - View commit details
-
Copy full SHA for 37e1d29 - Browse repository at this point
Copy the full SHA 37e1d29View commit details -
Remove the
suite_index
parameter of therun_passes!()
macroThis can be obtained via the `$mir_phase` value.
Configuration menu - View commit details
-
Copy full SHA for 895a4b2 - Browse repository at this point
Copy the full SHA 895a4b2View commit details -
Replace the
run_passes!
macro with a regular functionAs suggested in the feedback for rust-lang#55244. When I replaced the macro with a function, rustc started complaining that there were two unused functions so I also removed those.
Configuration menu - View commit details
-
Copy full SHA for c535147 - Browse repository at this point
Copy the full SHA c535147View commit details
Commits on Oct 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 4655866 - Browse repository at this point
Copy the full SHA 4655866View commit details
Commits on Oct 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c674802 - Browse repository at this point
Copy the full SHA c674802View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9bd2a6 - Browse repository at this point
Copy the full SHA b9bd2a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a48f20 - Browse repository at this point
Copy the full SHA 5a48f20View commit details
Commits on Oct 27, 2018
-
remove unused variable i in example String::with_capacity()
Configuration menu - View commit details
-
Copy full SHA for 4cb611f - Browse repository at this point
Copy the full SHA 4cb611fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c04893a - Browse repository at this point
Copy the full SHA c04893aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fd378b - Browse repository at this point
Copy the full SHA 2fd378bView commit details
Commits on Oct 28, 2018
-
Add note linking to Rust 2018 path semantics docs.
This commit extends existing path suggestions to link to documentation on the changed semantics of `use` in Rust 2018.
Configuration menu - View commit details
-
Copy full SHA for 0d06b8c - Browse repository at this point
Copy the full SHA 0d06b8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0757c0f - Browse repository at this point
Copy the full SHA 0757c0fView commit details -
Rollup merge of rust-lang#55148 - SimonSapin:path-fromstr, r=oli-obk
Implement FromStr for PathBuf Initially landed in rust-lang#48292 and reverted in rust-lang#50401. This time, use `std::string::ParseError` as suggested in rust-lang#44431 (comment)
Configuration menu - View commit details
-
Copy full SHA for b9763de - Browse repository at this point
Copy the full SHA b9763deView commit details -
Rollup merge of rust-lang#55191 - GuillaumeGomez:fix-sub-variant, r=Q…
…uietMisdreavus Fix sub-variant doc display Fixes rust-lang#54758. <img width="1440" alt="screen shot 2018-10-19 at 01 34 11" src="https://user-images.githubusercontent.com/3050060/47189939-43481d00-d33f-11e8-868f-cf479fc79e62.png"> r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for 883b819 - Browse repository at this point
Copy the full SHA 883b819View commit details -
Rollup merge of rust-lang#55244 - wesleywiser:issue-50411, r=nikomats…
…akis Don't rerun MIR passes when inlining Fixes rust-lang#50411 r? @nikomatsakis I updated your commit message with additional details. Let me know if any of that is incorrect. I also added the appropriate `compile-flags` directive to the test. Thanks for you help on this! cc @RalfJung related to your PR rust-lang#55086
Configuration menu - View commit details
-
Copy full SHA for 409382e - Browse repository at this point
Copy the full SHA 409382eView commit details -
Rollup merge of rust-lang#55252 - SimonSapin:maybeuninit-new, r=bluss
Add MaybeUninit::new Sometimes it *is* initialized!
Configuration menu - View commit details
-
Copy full SHA for a79b912 - Browse repository at this point
Copy the full SHA a79b912View commit details -
Rollup merge of rust-lang#55389 - meven:master, r=shepmaster
Remove unnecessary mut in iterator.find_map documentation example, R… Relates to rust-lang#49098 Removes a mut that could induce newcomers to put a mut in their code that the compiler would comply about. https://github.com/rust-lang/rust/pull/49098/files#r227422388
Configuration menu - View commit details
-
Copy full SHA for 316a443 - Browse repository at this point
Copy the full SHA 316a443View commit details -
Rollup merge of rust-lang#55406 - rick68:patch-16, r=varkor
Update string.rs remove unused variable i in example String::with_capacity()
Configuration menu - View commit details
-
Copy full SHA for 7a95c28 - Browse repository at this point
Copy the full SHA 7a95c28View commit details -
Rollup merge of rust-lang#55412 - oli-obk:min_const_fn_ice, r=estebank
Fix an ICE in the min_const_fn analysis fixes rust-lang#55395 cc @Centril
Configuration menu - View commit details
-
Copy full SHA for b565e5d - Browse repository at this point
Copy the full SHA b565e5dView commit details -
Rollup merge of rust-lang#55421 - CAD97:patch-1, r=kennytm
Add ManuallyDrop::take Tracking issue: rust-lang#55422 Proposed in this form in https://internals.rust-lang.org/t/mini-rfc-manuallydrop-take/8679, see that thread for some history. A small convenience wrapper for `ManuallyDrop` that makes a pattern (taking ownership of the contained data in drop) more obvious.
Configuration menu - View commit details
-
Copy full SHA for 360f32a - Browse repository at this point
Copy the full SHA 360f32aView commit details -
Rollup merge of rust-lang#55185 - davidtwco:issue-55130, r=nikomatsakis
path suggestions in Rust 2018 should point out the change in semantics Fixes rust-lang#55130. This commit extends existing path suggestions to link to documentation on the changed semantics of `use` in Rust 2018.
Configuration menu - View commit details
-
Copy full SHA for aaa20c6 - Browse repository at this point
Copy the full SHA aaa20c6View commit details -
Rollup merge of rust-lang#55257 - mjbshaw:static, r=oli-obk
Allow extern statics with an extern type Fixes rust-lang#55239
Configuration menu - View commit details
-
Copy full SHA for abf7243 - Browse repository at this point
Copy the full SHA abf7243View commit details -
Rollup merge of rust-lang#55199 - oli-obk:instance_printing, r=davidtwco
Impl items have generics
Configuration menu - View commit details
-
Copy full SHA for db4e77c - Browse repository at this point
Copy the full SHA db4e77cView commit details