fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
242 B10 linesraw
1error: `#[test]` attribute is only allowed on non associated functions
2  --> $DIR/test-attr-non-associated-functions.rs:9:5
3   |
4LL | /     fn new() -> A {
5LL | |         A {}
6LL | |     }
7   | |_____^
8
9error: aborting due to previous error
10