]> git.proxmox.com Git - rustc.git/blob - src/test/ui/hygiene/assoc_item_ctxt.stderr
Update upstream source from tag 'upstream/1.33.0+dfsg1'
[rustc.git] / src / test / ui / hygiene / assoc_item_ctxt.stderr
1 error[E0407]: method `method` is not a member of trait `Tr`
2 --> $DIR/assoc_item_ctxt.rs:35:13
3 |
4 LL | fn method() {} //~ ERROR method `method` is not a member of trait `Tr`
5 | ^^^^^^^^^^^^^^ not a member of trait `Tr`
6 ...
7 LL | mac_trait_impl!();
8 | ------------------ in this macro invocation
9
10 error[E0046]: not all trait items implemented, missing: `method`
11 --> $DIR/assoc_item_ctxt.rs:34:9
12 |
13 LL | fn method();
14 | ------------ `method` from trait
15 ...
16 LL | impl Tr for u8 { //~ ERROR not all trait items implemented, missing: `method`
17 | ^^^^^^^^^^^^^^ missing `method` in implementation
18 ...
19 LL | mac_trait_impl!();
20 | ------------------ in this macro invocation
21
22 error: aborting due to 2 previous errors
23
24 Some errors occurred: E0046, E0407.
25 For more information about an error, try `rustc --explain E0046`.