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-21 01:04:02 +00:00
error: cannot test inner items
2018-12-25 15:56:47 +00:00
--> $DIR/test-inner-fn.rs:5:5
2018-06-09 01:24:57 +00:00
|
2019-03-09 12:03:44 +00:00
LL | #[test]
2018-06-09 01:24:57 +00:00
| ^^^^^^^
|
2018-07-21 01:04:02 +00: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-09 01:24:57 +00:00
2018-07-21 01:04:02 +00:00
error: cannot test inner items
2018-12-25 15:56:47 +00:00
--> $DIR/test-inner-fn.rs:13:9
2018-06-09 01:24:57 +00:00
|
2019-03-09 12:03:44 +00:00
LL | #[test]
2018-06-09 01:24:57 +00:00
| ^^^^^^^
|
= note: this error originates in the attribute macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-06-09 01:24:57 +00:00
error: aborting due to 2 previous errors