75df62d4a2
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>
11 lines
238 B
Rust
11 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() {}
|