fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
592 B19 linesraw
1error: cannot test inner items
2  --> $DIR/test-inner-fn.rs:5:5
3   |
4LL |     #[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
10error: cannot test inner items
11  --> $DIR/test-inner-fn.rs:13:9
12   |
13LL |         #[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
18error: aborting due to 2 previous errors
19