Skip to content

Commit 68c26b3

Browse files
committed
Rustup to rustc 1.39.0-nightly (acf7b50 2019-09-25)
- Addresses inference error - Updates compiletest
1 parent d5ec41c commit 68c26b3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util"}
4646

4747
[dev-dependencies]
4848
cargo_metadata = "0.8.0"
49-
compiletest_rs = { version = "0.3.22", features = ["tmp"] }
49+
compiletest_rs = { version = "0.3.23", features = ["tmp"] }
5050
lazy_static = "1.0"
5151
clippy-mini-macro-test = { version = "0.2", path = "mini-macro" }
5252
serde = { version = "1.0", features = ["derive"] }

tests/ui/many_single_char_names.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fn bla() {
2929
fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) {}
3030

3131
fn bindings2() {
32-
let (a, b, c, d, e, f, g, h) = unimplemented!();
32+
let (a, b, c, d, e, f, g, h): (bool, bool, bool, bool, bool, bool, bool, bool) = unimplemented!();
3333
}
3434

3535
fn shadowing() {

tests/ui/many_single_char_names.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ LL | fn bindings(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32)
4444
error: 8 bindings with single-character names in scope
4545
--> $DIR/many_single_char_names.rs:32:10
4646
|
47-
LL | let (a, b, c, d, e, f, g, h) = unimplemented!();
47+
LL | let (a, b, c, d, e, f, g, h): (bool, bool, bool, bool, bool, bool, bool, bool) = unimplemented!();
4848
| ^ ^ ^ ^ ^ ^ ^ ^
4949

5050
error: aborting due to 5 previous errors

0 commit comments

Comments
 (0)