fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: environment variable `NON_EXISTENT` not defined at compile time 2 --> $DIR/issue-55897.rs:11:22 3 | 4LL | include!(concat!(env!("NON_EXISTENT"), "/data.rs")); 5 | ^^^^^^^^^^^^^^^^^^^^ 6 | 7 = help: use `std::env::var("NON_EXISTENT")` to read the variable at run time 8 = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) 9 10error: suffixes on string literals are invalid 11 --> $DIR/issue-55897.rs:16:22 12 | 13LL | include!(concat!("NON_EXISTENT"suffix, "/data.rs")); 14 | ^^^^^^^^^^^^^^^^^^^^ invalid suffix `suffix` 15 16error[E0432]: unresolved import `prelude` 17 --> $DIR/issue-55897.rs:1:5 18 | 19LL | use prelude::*; 20 | ^^^^^^^ 21 | | 22 | unresolved import 23 | help: a similar path exists: `std::prelude` 24 25error[E0432]: unresolved import `env` 26 --> $DIR/issue-55897.rs:4:9 27 | 28LL | use env; 29 | ^^^ no `env` in the root 30 | 31help: consider importing this module instead 32 | 33LL | use std::env; 34 | ~~~~~~~~ 35 36error: cannot determine resolution for the macro `env` 37 --> $DIR/issue-55897.rs:6:22 38 | 39LL | include!(concat!(env!("NON_EXISTENT"), "/data.rs")); 40 | ^^^ 41 | 42 = note: import resolution is stuck, try simplifying macro imports 43 44error: aborting due to 5 previous errors 45 46For more information about this error, try `rustc --explain E0432`.