
For macros that are implemented on the compiler, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros.
8 lines
258 B
Text
8 lines
258 B
Text
error: my error message
|
|
--> $DIR/env-not-defined-custom.rs:1:13
|
|
|
|
|
LL | fn main() { env!("__HOPEFULLY_NOT_DEFINED__", "my error message"); }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|