
If a raw string was used in the `env!` invocation, then it should also be shown in the diagnostic messages as a raw string. Signed-off-by: David Wood <david@davidtw.co>
10 lines
238 B
Rust
10 lines
238 B
Rust
// unset-rustc-env:oopsie
|
|
// unset-rustc-env:a""a
|
|
|
|
env![r#"oopsie"#];
|
|
//~^ ERROR environment variable `oopsie` not defined at compile time
|
|
|
|
env![r#"a""a"#];
|
|
//~^ ERROR environment variable `a""a` not defined at compile time
|
|
|
|
fn main() {}
|