fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
800 B25 linesraw
1error[E0407]: method `method` is not a member of trait `Tr`
2  --> $DIR/assoc_item_ctxt.rs:35:13
3   |
4LL |             fn method() {}
5   |             ^^^^^^^^^^^^^^ not a member of trait `Tr`
6...
7LL |     mac_trait_impl!();
8   |     ------------------ in this macro invocation
9
10error[E0046]: not all trait items implemented, missing: `method`
11  --> $DIR/assoc_item_ctxt.rs:34:9
12   |
13LL |         fn method();
14   |         ------------ `method` from trait
15...
16LL |         impl Tr for u8 {
17   |         ^^^^^^^^^^^^^^ missing `method` in implementation
18...
19LL |     mac_trait_impl!();
20   |     ------------------ in this macro invocation
21
22error: aborting due to 2 previous errors
23
24Some errors have detailed explanations: E0046, E0407.
25For more information about an error, try `rustc --explain E0046`.