]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/test-inner-fn.stderr
Auto merge of #53830 - davidtwco:issue-53228, r=nikomatsakis
[rust.git] / src / test / ui / lint / test-inner-fn.stderr
1 error: cannot test inner items
2   --> $DIR/test-inner-fn.rs:15:5
3    |
4 LL |     #[test] //~ ERROR cannot test inner items [unnameable_test_items]
5    |     ^^^^^^^
6    |
7    = note: requested on the command line with `-D unnameable-test-items`
8
9 error: cannot test inner items
10   --> $DIR/test-inner-fn.rs:23:9
11    |
12 LL |         #[test] //~ ERROR cannot test inner items [unnameable_test_items]
13    |         ^^^^^^^
14
15 error: aborting due to 2 previous errors
16