fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
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 | | 6LL | | A {} 7LL | | } 8 | |_____^ 9 10error: `#[test]` attribute is only allowed on non associated functions 11 --> $DIR/test-attr-non-associated-functions.rs:14:5 12 | 13LL | / fn recovery_witness() -> A { 14LL | | 15LL | | A {} 16LL | | } 17 | |_____^ 18 19error: aborting due to 2 previous errors 20