Closed
Description
Code
env!{"\t"}
Current output
error: environment variable ` ` not defined at compile time
--> env.rs:1:1
|
1 | env!{"\t"}
| ^^^^^^^^^^
|
= help: use `std::env::var(" ")` to read the variable at run time
= note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)
Desired output
This error: environment variable ` ` not defined at compile time
looks very weird imo because it looks like its something misssing there. I think actually rustc is quoting the `\t` here but while it is escaped in the code, it is not escaped in the error message.
Might be nice to print something like
..` `(`\t`) not defined.. ?
Rationale and extra context
No response
Other cases
No response
Anything else?
No response