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