fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
998 B27 linesraw
1error[E0576]: cannot find associated type `Output` in trait `Trait`
2  --> $DIR/issue-87638.rs:17:26
3   |
4LL |     type Target;
5   |     ------------ associated type `Target` defined here
6...
7LL |     let _: <S as Trait>::Output;
8   |                          ^^^^^^
9   |                          |
10   |                          not found in `Trait`
11   |                          help: maybe you meant this associated type: `Target`
12
13error[E0576]: cannot find method or associated constant `BAR` in trait `Trait`
14  --> $DIR/issue-87638.rs:20:27
15   |
16LL |     const FOO: usize;
17   |     ----------------- associated constant `FOO` defined here
18...
19LL |     let _ = <S as Trait>::BAR;
20   |                           ^^^
21   |                           |
22   |                           not found in `Trait`
23   |                           help: maybe you meant this associated constant: `FOO`
24
25error: aborting due to 2 previous errors
26
27For more information about this error, try `rustc --explain E0576`.