2018-04-07 17:28:31 +03:00
|
|
|
error[E0407]: method `method` is not a member of trait `Tr`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/assoc_item_ctxt.rs:35:13
|
2018-04-07 17:28:31 +03:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | fn method() {}
|
2018-04-07 17:28:31 +03:00
|
|
|
| ^^^^^^^^^^^^^^ not a member of trait `Tr`
|
|
|
|
...
|
|
|
|
LL | mac_trait_impl!();
|
|
|
|
| ------------------ in this macro invocation
|
|
|
|
|
|
|
|
error[E0046]: not all trait items implemented, missing: `method`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/assoc_item_ctxt.rs:34:9
|
2018-04-07 17:28:31 +03:00
|
|
|
|
|
|
|
|
LL | fn method();
|
|
|
|
| ------------ `method` from trait
|
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | impl Tr for u8 {
|
2018-04-07 17:28:31 +03:00
|
|
|
| ^^^^^^^^^^^^^^ missing `method` in implementation
|
|
|
|
...
|
|
|
|
LL | mac_trait_impl!();
|
|
|
|
| ------------------ in this macro invocation
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
Some errors occurred: E0046, E0407.
|
|
|
|
For more information about an error, try `rustc --explain E0046`.
|