For macros that are implemented on the compiler, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros.
15 lines
303 B
Plaintext
15 lines
303 B
Plaintext
error: cannot test inner items
|
|
--> $DIR/issue-107454.rs:7:5
|
|
|
|
|
LL | #[test_case]
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/issue-107454.rs:4:9
|
|
|
|
|
LL | #![deny(unnameable_test_items)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|