1 error[E0407]: method `method` is not a member of trait `Tr`
2 --> $DIR/assoc_item_ctxt.rs:35:13
4 LL | fn method() {} //~ ERROR method `method` is not a member of trait `Tr`
5 | ^^^^^^^^^^^^^^ not a member of trait `Tr`
7 LL | mac_trait_impl!();
8 | ------------------ in this macro invocation
10 error[E0046]: not all trait items implemented, missing: `method`
11 --> $DIR/assoc_item_ctxt.rs:34:9
14 | ------------ `method` from trait
16 LL | impl Tr for u8 { //~ ERROR not all trait items implemented, missing: `method`
17 | ^^^^^^^^^^^^^^ missing `method` in implementation
19 LL | mac_trait_impl!();
20 | ------------------ in this macro invocation
22 error: aborting due to 2 previous errors
24 Some errors occurred: E0046, E0407.
25 For more information about an error, try `rustc --explain E0046`.