]> git.lizzy.rs Git - rust.git/blob - src/test/ui/test-attr-non-associated-functions.stderr
Auto merge of #62748 - luca-barbieri:optimize-refcell-borrow, r=RalfJung
[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:9:5
3    |
4 LL | /     fn new() -> A {
5 LL | |         A {}
6 LL | |     }
7    | |_____^
8
9 error: aborting due to previous error
10