fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0407]: method `method` is not a member of trait `Tr` 2 --> $DIR/assoc_item_ctxt.rs:33:13 3 | 4LL | fn method() {} 5 | ^^^------^^^^^ 6 | | | 7 | | help: there is an associated function with a similar name: `method` 8 | not a member of trait `Tr` 9... 10LL | mac_trait_impl!(); 11 | ----------------- in this macro invocation 12 | 13 = note: this error originates in the macro `mac_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info) 14 15error[E0046]: not all trait items implemented, missing: `method` 16 --> $DIR/assoc_item_ctxt.rs:32:9 17 | 18LL | fn method(); 19 | ------------ `method` from trait 20... 21LL | impl Tr for u8 { 22 | ^^^^^^^^^^^^^^ missing `method` in implementation 23... 24LL | mac_trait_impl!(); 25 | ----------------- in this macro invocation 26 | 27 = note: this error originates in the macro `mac_trait_impl` (in Nightly builds, run with -Z macro-backtrace for more info) 28 29error: aborting due to 2 previous errors 30 31Some errors have detailed explanations: E0046, E0407. 32For more information about an error, try `rustc --explain E0046`.