Skip to content

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

Merged
merged 3 commits into from
May 5, 2017
Merged

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented May 4, 2017

No description provided.

@@ -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>) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 🎉 🎉

Copy link
Member

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?

Copy link
Contributor Author

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

},
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
Copy link
Member

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.

Copy link
Contributor Author

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

@eddyb eddyb merged commit 1f8aa8d into master May 5, 2017
@oli-obk oli-obk deleted the rustup branch May 5, 2017 10:30
@dwrensha
Copy link
Contributor

For the sake of easy cross-reference, it looks like this is the pertinent rustc changeset: rust-lang/rust#41625

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants