-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
librustc_mir => 2018 #58265
librustc_mir => 2018 #58265
Conversation
d6bf8e3
to
6326ef7
Compare
6326ef7
to
725af30
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit and then I think that this is good to go.
@@ -254,14 +254,14 @@ fn dump_mir_results<'a, 'gcx, 'tcx>( | |||
); | |||
|
|||
// Also dump the inference graph constraints as a graphviz file. | |||
let _: io::Result<()> = try_block! { | |||
let _: io::Result<()> = try { | |||
let mut file = | |||
pretty::create_dump_file(infcx.tcx, "regioncx.all.dot", None, "nll", &0, source)?; | |||
regioncx.dump_graphviz_raw_constraints(&mut file)?; | |||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
use super::promote_consts::{self, Candidate, TempState}; | ||
|
||
bitflags! { | ||
bitflags::bitflags! { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bitflags!
is only used here.
@bors r+ |
📌 Commit c9bc85e has been approved by |
…wjasper librustc_mir => 2018 Transitions `librustc_mir` to Rust 2018; cc rust-lang#58099 TODO: ~~elided_lifetimes_in_paths~~ r? @Centril
Rollup of 18 pull requests Successful merges: - #58091 (Transition compiletest to Rust 2018) - #58115 (Transition rustdoc to 2018 edition) - #58120 (Transition build_helper to 2018 edition) - #58222 (librustc_allocator => 2018) - #58233 (librustc_save_analysis => 2018) - #58245 (librustc_lint => 2018) - #58247 (librustc_passes => 2018) - #58251 (Transition librustc_traits to 2018 edition) - #58255 (librustc_metadata => 2018) - #58256 (librustc_cratesio_shim => 2018) - #58257 (librustc_target => 2018) - #58259 (librustc_codegen_utils => 2018) - #58260 (librustc_borrowck => 2018) - #58261 (librustc_incremental => 2018) - #58265 (librustc_mir => 2018) - #58275 (libcore, liballoc: disable tests in Miri) - #58285 (error_index_generator => 2018) - #58312 (librustc_data_structures => 2018) Failed merges: r? @ghost
Revert removed #![feature(nll)] In PRs related to rust-lang#58099, `#![feature(nll)]` was removed from several crates. This PR reverts it. Related: rust-lang#58265 (comment) cc @Centril r? @matthewjasper
Revert removed #![feature(nll)] In PRs related to #58099, `#![feature(nll)]` was removed from several crates. This PR reverts it. Related: rust-lang/rust#58265 (comment) cc @Centril r? @matthewjasper
Transitions
librustc_mir
to Rust 2018; cc #58099TODO:
elided_lifetimes_in_pathsr? @Centril