@@ -10,19 +10,8 @@ LL - let _ = include_str!("include-macros/file.txt");
10
10
LL + let _ = include_str!("file.txt");
11
11
|
12
12
13
- error: couldn't read `$DIR/hello.rs`: $FILE_NOT_FOUND_MSG
14
- --> $DIR/parent_dir.rs:6:13
15
- |
16
- LL | let _ = include_str!("hello.rs");
17
- | ^^^^^^^^^^^^^^^^^^^^^^^^
18
- |
19
- help: there is a file with the same name in a different directory
20
- |
21
- LL | let _ = include_str!("../hello.rs");
22
- | +++
23
-
24
13
error: couldn't read `$DIR/../../data.bin`: $FILE_NOT_FOUND_MSG
25
- --> $DIR/parent_dir.rs:8 :13
14
+ --> $DIR/parent_dir.rs:6 :13
26
15
|
27
16
LL | let _ = include_bytes!("../../data.bin");
28
17
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -34,7 +23,7 @@ LL + let _ = include_bytes!("data.bin");
34
23
|
35
24
36
25
error: couldn't read `$DIR/tests/ui/include-macros/file.txt`: $FILE_NOT_FOUND_MSG
37
- --> $DIR/parent_dir.rs:10 :13
26
+ --> $DIR/parent_dir.rs:8 :13
38
27
|
39
28
LL | let _ = include_str!("tests/ui/include-macros/file.txt");
40
29
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -45,5 +34,5 @@ LL - let _ = include_str!("tests/ui/include-macros/file.txt");
45
34
LL + let _ = include_str!("file.txt");
46
35
|
47
36
48
- error: aborting due to 4 previous errors
37
+ error: aborting due to 3 previous errors
49
38
0 commit comments