mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-19 12:05:08 +00:00
16 lines
432 B
Plaintext
16 lines
432 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)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
= note: this error originates in the attribute macro `test_case` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: aborting due to previous error
|
|
|