Skip to content

Commit

Permalink
Rustup to rustc 1.39.0-nightly (acf7b50 2019-09-25)
Browse files Browse the repository at this point in the history
 - Addresses inference error
 - Updates compiletest
  • Loading branch information
Manishearth committed Sep 25, 2019
1 parent d5ec41c commit 68c26b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}

[dev-dependencies]
cargo_metadata = "0.8.0"
compiletest_rs = { version = "0.3.22", features = ["tmp"] }
compiletest_rs = { version = "0.3.23", features = ["tmp"] }
lazy_static = "1.0"
clippy-mini-macro-test = { version = "0.2", path = "mini-macro" }
serde = { version = "1.0", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/many_single_char_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn bla() {
fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}

fn bindings2() {
let (a, b, c, d, e, f, g, h) = unimplemented!();
let (a, b, c, d, e, f, g, h): (bool, bool, bool, bool, bool, bool, bool, bool) = unimplemented!();
}

fn shadowing() {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/many_single_char_names.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ LL | fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32)
error: 8 bindings with single-character names in scope
--> $DIR/many_single_char_names.rs:32:10
|
LL | let (a, b, c, d, e, f, g, h) = unimplemented!();
LL | let (a, b, c, d, e, f, g, h): (bool, bool, bool, bool, bool, bool, bool, bool) = unimplemented!();
| ^ ^ ^ ^ ^ ^ ^ ^

error: aborting due to 5 previous errors
Expand Down

0 comments on commit 68c26b3

Please sign in to comment.