1 error[E0407]: method `method` is not a member of trait `Tr`
2 --> $DIR/assoc_item_ctxt.rs:35:13
7 | | help: there is an associated function with a similar name: `method`
8 | not a member of trait `Tr`
10 LL | mac_trait_impl!();
11 | ----------------- in this macro invocation
13 = note: this error originates in the macro `mac_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
15 error[E0046]: not all trait items implemented, missing: `method`
16 --> $DIR/assoc_item_ctxt.rs:34:9
19 | ------------ `method` from trait
22 | ^^^^^^^^^^^^^^ missing `method` in implementation
24 LL | mac_trait_impl!();
25 | ----------------- in this macro invocation
27 = note: this error originates in the macro `mac_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
29 error: aborting due to 2 previous errors
31 Some errors have detailed explanations: E0046, E0407.
32 For more information about an error, try `rustc --explain E0046`.