]> git.lizzy.rs Git - rust.git/blob - src/test/ui/extenv/issue-55897.stderr
Rollup merge of #102685 - nbdd0121:unwind, r=m-ou-se
[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    = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: suffixes on string literals are invalid
10   --> $DIR/issue-55897.rs:16:22
11    |
12 LL |     include!(concat!("NON_EXISTENT"suffix, "/data.rs"));
13    |                      ^^^^^^^^^^^^^^^^^^^^ invalid suffix `suffix`
14
15 error[E0432]: unresolved import `prelude`
16   --> $DIR/issue-55897.rs:1:5
17    |
18 LL | use prelude::*;
19    |     ^^^^^^^
20    |     |
21    |     unresolved import
22    |     help: a similar path exists: `std::prelude`
23
24 error[E0432]: unresolved import `env`
25   --> $DIR/issue-55897.rs:4:9
26    |
27 LL |     use env;
28    |         ^^^ no `env` in the root
29    |
30 help: consider importing this module instead
31    |
32 LL |     use std::env;
33    |         ~~~~~~~~~
34
35 error: cannot determine resolution for the macro `env`
36   --> $DIR/issue-55897.rs:6:22
37    |
38 LL |     include!(concat!(env!("NON_EXISTENT"), "/data.rs"));
39    |                      ^^^
40    |
41    = note: import resolution is stuck, try simplifying macro imports
42
43 error: aborting due to 5 previous errors
44
45 For more information about this error, try `rustc --explain E0432`.