]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/test-inner-fn.stderr
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui / lint / test-inner-fn.stderr
1 error: cannot test inner items
2   --> $DIR/test-inner-fn.rs:5:5
3    |
4 LL |     #[test]
5    |     ^^^^^^^
6    |
7    = note: requested on the command line with `-D unnameable-test-items`
8    = note: this error originates in the attribute macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
9
10 error: cannot test inner items
11   --> $DIR/test-inner-fn.rs:13:9
12    |
13 LL |         #[test]
14    |         ^^^^^^^
15    |
16    = note: this error originates in the attribute macro `test` (in Nightly builds, run with -Z macro-backtrace for more info)
17
18 error: aborting due to 2 previous errors
19