fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
335 B16 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
9error: cannot test inner items
10  --> $DIR/test-inner-fn.rs:13:9
11   |
12LL |         #[test]
13   |         ^^^^^^^
14
15error: aborting due to 2 previous errors
16