mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
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() {}
|