]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-attr-non-associated-functions.stderr
Rollup merge of #55949 - ljedrz:return_impl_Iterator_from_Predicate_walk_tys, r=oli-obk
[rust.git] / src / test / ui / test-attr-non-associated-functions.stderr
1 error: #[test] attribute is only allowed on non associated functions
2   --> $DIR/test-attr-non-associated-functions.rs:19:5
3    |
4 LL | /     fn new() -> A { //~ ERROR #[test] attribute is only allowed on non associated functions
5 LL | |         A {}
6 LL | |     }
7    | |_____^
8
9 error: aborting due to previous error
10