rust/tests/ui/lint/test-inner-fn.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
592 B
Plaintext
Raw Normal View History

2018-07-20 20:04:02 -05:00
error: cannot test inner items
2018-12-25 09:56:47 -06:00
--> $DIR/test-inner-fn.rs:5:5
2018-06-08 20:24:57 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #[test]
2018-06-08 20:24:57 -05:00
| ^^^^^^^
|
2018-07-20 20:04:02 -05:00
= note: requested on the command line with `-D unnameable-test-items`
= note: this error originates in the attribute macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-06-08 20:24:57 -05:00
2018-07-20 20:04:02 -05:00
error: cannot test inner items
2018-12-25 09:56:47 -06:00
--> $DIR/test-inner-fn.rs:13:9
2018-06-08 20:24:57 -05:00
|
2019-03-09 06:03:44 -06:00
LL | #[test]
2018-06-08 20:24:57 -05:00
| ^^^^^^^
|
= note: this error originates in the attribute macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-06-08 20:24:57 -05:00
error: aborting due to 2 previous errors