]> git.lizzy.rs Git - rust.git/blob - src/test/ui/extenv/issue-55897.stderr
Auto merge of #71931 - alexcrichton:reproducible-macos, r=eddyb
[rust.git] / src / test / ui / extenv / issue-55897.stderr
1 error: environment variable `NON_EXISTENT` not defined
2   --> $DIR/issue-55897.rs:11:22
3    |
4 LL |     include!(concat!(env!("NON_EXISTENT"), "/data.rs"));
5    |                      ^^^^^^^^^^^^^^^^^^^^
6
7 error: suffixes on a string literal are invalid
8   --> $DIR/issue-55897.rs:16:22
9    |
10 LL |     include!(concat!("NON_EXISTENT"suffix, "/data.rs"));
11    |                      ^^^^^^^^^^^^^^^^^^^^ invalid suffix `suffix`
12
13 error[E0432]: unresolved import `prelude`
14   --> $DIR/issue-55897.rs:1:5
15    |
16 LL | use prelude::*;
17    |     ^^^^^^^
18    |     |
19    |     unresolved import
20    |     help: a similar path exists: `std::prelude`
21
22 error[E0432]: unresolved import `env`
23   --> $DIR/issue-55897.rs:4:9
24    |
25 LL |     use env;
26    |         ^^^ no `env` in the root
27
28 error: cannot determine resolution for the macro `env`
29   --> $DIR/issue-55897.rs:6:22
30    |
31 LL |     include!(concat!(env!("NON_EXISTENT"), "/data.rs"));
32    |                      ^^^
33    |
34    = note: import resolution is stuck, try simplifying macro imports
35
36 error: aborting due to 5 previous errors
37
38 For more information about this error, try `rustc --explain E0432`.