fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
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