Skip to content

Commit 8b0698b

Browse files
committed
--bless windows test
1 parent 5cc4e94 commit 8b0698b

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

src/test/ui/parser/mod_file_not_exist.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ignore-windows
22

33
mod not_a_real_file; //~ ERROR file not found for module `not_a_real_file`
4-
//~^ HELP to create the module `not_a_real_file`, create file "
4+
//~^ HELP to create the module `not_a_real_file`, create file
55

66
fn main() {
77
assert_eq!(mod_file_aux::bar(), 10);

src/test/ui/parser/mod_file_not_exist_windows.rs

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ mod not_a_real_file; //~ ERROR file not found for module `not_a_real_file`
55

66
fn main() {
77
assert_eq!(mod_file_aux::bar(), 10);
8+
//~^ ERROR failed to resolve: use of undeclared type or module `mod_file_aux`
89
}

src/test/ui/parser/mod_file_not_exist_windows.stderr

+10-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@ error[E0583]: file not found for module `not_a_real_file`
22
--> $DIR/mod_file_not_exist_windows.rs:3:5
33
|
44
LL | mod not_a_real_file;
5-
| ^^^^^^^^^^^^^^^
5+
| ^^^^^^^^^^^^^^^^^^^^
66
|
77
= help: to create the module `not_a_real_file`, create file "$DIR/not_a_real_file.rs"
88

9-
error: aborting due to previous error
9+
error[E0433]: failed to resolve: use of undeclared type or module `mod_file_aux`
10+
--> $DIR/mod_file_not_exist_windows.rs:7:16
11+
|
12+
LL | assert_eq!(mod_file_aux::bar(), 10);
13+
| ^^^^^^^^^^^^ use of undeclared type or module `mod_file_aux`
14+
15+
error: aborting due to 2 previous errors
1016

11-
For more information about this error, try `rustc --explain E0583`.
17+
Some errors have detailed explanations: E0433, E0583.
18+
For more information about an error, try `rustc --explain E0433`.

0 commit comments

Comments
 (0)