]>
Commit | Line | Data |
---|---|---|
83c7162d | 1 | error[E0407]: method `method` is not a member of trait `Tr` |
0731742a | 2 | --> $DIR/assoc_item_ctxt.rs:35:13 |
83c7162d | 3 | | |
532ac7d7 | 4 | LL | fn method() {} |
83c7162d XL |
5 | | ^^^^^^^^^^^^^^ not a member of trait `Tr` |
6 | ... | |
7 | LL | mac_trait_impl!(); | |
8 | | ------------------ in this macro invocation | |
74b04a01 XL |
9 | | |
10 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
83c7162d XL |
11 | |
12 | error[E0046]: not all trait items implemented, missing: `method` | |
0731742a | 13 | --> $DIR/assoc_item_ctxt.rs:34:9 |
83c7162d XL |
14 | | |
15 | LL | fn method(); | |
16 | | ------------ `method` from trait | |
17 | ... | |
532ac7d7 | 18 | LL | impl Tr for u8 { |
83c7162d XL |
19 | | ^^^^^^^^^^^^^^ missing `method` in implementation |
20 | ... | |
21 | LL | mac_trait_impl!(); | |
22 | | ------------------ in this macro invocation | |
74b04a01 XL |
23 | | |
24 | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | |
83c7162d XL |
25 | |
26 | error: aborting due to 2 previous errors | |
27 | ||
48663c56 | 28 | Some errors have detailed explanations: E0046, E0407. |
83c7162d | 29 | For more information about an error, try `rustc --explain E0046`. |