1 error: #[test] attribute is only allowed on non associated functions
2 --> $DIR/test-attr-non-associated-functions.rs:9:2
4 LL | fn new() -> A { //~ ERROR #[test] attribute is only allowed on non associated functions
10 error: aborting due to previous error