]> git.proxmox.com Git - rustc.git/blame - 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
CommitLineData
83c7162d 1error[E0407]: method `method` is not a member of trait `Tr`
0731742a 2 --> $DIR/assoc_item_ctxt.rs:35:13
83c7162d 3 |
532ac7d7 4LL | fn method() {}
83c7162d
XL
5 | ^^^^^^^^^^^^^^ not a member of trait `Tr`
6...
7LL | mac_trait_impl!();
8 | ------------------ in this macro invocation
74b04a01
XL
9 |
10 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
83c7162d
XL
11
12error[E0046]: not all trait items implemented, missing: `method`
0731742a 13 --> $DIR/assoc_item_ctxt.rs:34:9
83c7162d
XL
14 |
15LL | fn method();
16 | ------------ `method` from trait
17...
532ac7d7 18LL | impl Tr for u8 {
83c7162d
XL
19 | ^^^^^^^^^^^^^^ missing `method` in implementation
20...
21LL | mac_trait_impl!();
22 | ------------------ in this macro invocation
74b04a01
XL
23 |
24 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
83c7162d
XL
25
26error: aborting due to 2 previous errors
27
48663c56 28Some errors have detailed explanations: E0046, E0407.
83c7162d 29For more information about an error, try `rustc --explain E0046`.