-
Notifications
You must be signed in to change notification settings - Fork 386
Rustup to rustc 1.19.0-nightly (2d4ed8e0c 2017-05-03) #163
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
@@ -1734,32 +1729,6 @@ fn report(tcx: TyCtxt, ecx: &EvalContext, e: EvalError) { | |||
err.emit(); | |||
} | |||
|
|||
pub fn run_mir_passes<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>) { |
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.
🎉 🎉 🎉
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.
Oh, speaking of this, is extern crate rustc_mir;
even used anymore?
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.
nope, and rustc_borrowck also isn't used anymore
src/terminator/drop.rs
Outdated
}, | ||
ty::TySlice(elem) => { | ||
instance.substs = self.tcx.mk_substs([ | ||
Kind::from(elem), | ||
].iter().cloned()); | ||
::eval_context::MirRef::clone(&self.seq_drop_glue) | ||
&self.seq_drop_glue |
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.
I think here and above you don't need the &
because seq_drop_glue
should be &Mir
already.
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.
indeed. And now we even found a clippy bug: https://github.com/Manishearth/rust-clippy/issues/1726
For the sake of easy cross-reference, it looks like this is the pertinent rustc changeset: rust-lang/rust#41625 |
No description provided.