]> git.proxmox.com Git - rustc.git/blob - src/test/ui/hygiene/assoc_item_ctxt.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / hygiene / assoc_item_ctxt.stderr
1 error[E0407]: method `method` is not a member of trait `Tr`
2 --> $DIR/assoc_item_ctxt.rs:35:13
3 |
4 LL | fn method() {}
5 | ^^^^^^^^^^^^^^ not a member of trait `Tr`
6 ...
7 LL | mac_trait_impl!();
8 | ------------------ in this macro invocation
9 |
10 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error[E0046]: not all trait items implemented, missing: `method`
13 --> $DIR/assoc_item_ctxt.rs:34:9
14 |
15 LL | fn method();
16 | ------------ `method` from trait
17 ...
18 LL | impl Tr for u8 {
19 | ^^^^^^^^^^^^^^ missing `method` in implementation
20 ...
21 LL | mac_trait_impl!();
22 | ------------------ in this macro invocation
23 |
24 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
25
26 error: aborting due to 2 previous errors
27
28 Some errors have detailed explanations: E0046, E0407.
29 For more information about an error, try `rustc --explain E0046`.