fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
576 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 an attribute macro (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 an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
17
18error: aborting due to 2 previous errors
19