Skip to content

Commit 372c69d

Browse files
committed
Fixed test text
1 parent 5c05278 commit 372c69d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/compile-fail/double-import.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ mod sub2 {
1919
fn foo() {} // implementation 2
2020
}
2121

22-
use sub1::foo; //~ note previous import of `foo` here
23-
use sub2::foo; //~ error a value named `foo` has already been imported in this module [e0252]
22+
use sub1::foo; //~ NOTE previous import of `foo` here
23+
use sub2::foo; //~ ERROR a value named `foo` has already been imported in this module [E0252]
2424

2525
fn main() {}

0 commit comments

Comments
 (0)