Skip to content
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

rustup https://github.com/rust-lang/rust/pull/60417/ #4054

Closed
wants to merge 1 commit into from

Conversation

matthiaskrgr
Copy link
Member

cc rust-lang/rust#60448

changelog: none

@matthiaskrgr
Copy link
Member Author

looks spurious

   Compiling reqwest v0.9.16
    Finished dev [unoptimized + debuginfo] target(s) in 3m 48s
  Installing /Users/travis/.cargo/bin/rustup-toolchain-install-master
   Installed package `rustup-toolchain-install-master v1.6.0` (executable `rustup-toolchain-install-master`)
detecting the channel of the `9b67bd42b7cbf97f72d039afcba02f5177d0d68c` toolchain...
error: https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rustc-builds/9b67bd42b7cbf97f72d039afcba02f5177d0d68c/rust-src-nightly.tar.xz: timed out
error: toolchain 'master' is not installed
info: backtrace:

@matthiaskrgr
Copy link
Member Author

r? @Manishearth

@matthiaskrgr matthiaskrgr reopened this May 1, 2019
@Manishearth
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented May 1, 2019

📌 Commit 24e856f has been approved by Manishearth

@bors
Copy link
Contributor

bors commented May 1, 2019

⌛ Testing commit 24e856f with merge 4da691c...

bors added a commit that referenced this pull request May 1, 2019
@@ -495,7 +495,7 @@ impl<'tcx> Visitor<'tcx> for PrintVisitor {
ExprKind::Err => {
println!("Err = {}", current);
},
ExprKind::Use(ref expr) => {
ExprKind::DropTemps(ref expr) => {
let expr_pat = self.next("expr");
println!("Use(ref {}) = {};", expr_pat, current);
Copy link
Member

Choose a reason for hiding this comment

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

This is wrong, should say DropTemps.

@Manishearth
Copy link
Member

@bors r-

ExprKind::Use(ref e) => {
let c: fn(_) -> _ = ExprKind::Use;
ExprKind::DropTemps(ref e) => {
let c: fn(_) -> _ = ExprKind::DropTemps;
c.hash(&mut self.s);
Copy link
Member

Choose a reason for hiding this comment

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

Huh, this should hash mem::discriminant (or thereabouts) like rustc does.
Preexisting though, better not to fix it in this PR.
cc @oli-obk @Manishearth

@@ -330,7 +330,7 @@ fn print_expr(cx: &LateContext<'_, '_>, expr: &hir::Expr, indent: usize) {
hir::ExprKind::Err => {
println!("{}Err", ind);
},
hir::ExprKind::Use(ref e) => {
hir::ExprKind::DropTemps(ref e) => {
println!("{}Use", ind);
Copy link
Member

Choose a reason for hiding this comment

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

This should say DropTemps.

@eddyb
Copy link
Member

eddyb commented May 1, 2019

Not sure if this will fail/be stopped, but I left a couple comments with some necessary changes.

@matthiaskrgr
Copy link
Member Author

matthiaskrgr commented May 1, 2019

oops..
followup: #4056

@Manishearth
Copy link
Member

#4056

could have just pushed to this one 😄

@Manishearth Manishearth closed this May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants