Skip to content

Commit a40e2a6

Browse files
committed
Update compile-fail tests due to changed diagnostics
1 parent e0cfe10 commit a40e2a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/compile-fail/resolve-conflict-import-vs-extern-crate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
use std::slice as std; //~ ERROR import conflicts with imported crate
11+
use std::slice as std; //~ ERROR import `std` conflicts with imported crate
1212

1313
fn main() {
1414
}

src/test/compile-fail/resolve-conflict-item-vs-import.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
use std::mem::transmute;
12-
//~^ ERROR import conflicts with value in this module
12+
//~^ ERROR import `transmute` conflicts with value in this module
1313

1414
fn transmute() {}
1515

0 commit comments

Comments
 (0)