]> git.lizzy.rs Git - rust.git/blob - src/test/ui/invalid-self-argument/trait-fn.stderr
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / ui / invalid-self-argument / trait-fn.stderr
1 error: unexpected `self` parameter in function
2   --> $DIR/trait-fn.rs:4:20
3    |
4 LL |     fn c(foo: u32, self) {}
5    |                    ^^^^ must be the first parameter of an associated function
6
7 error: aborting due to previous error
8