fork/rust

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

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

master
530 B19 linesraw
1error[E0405]: cannot find trait `Trait` in `A`
2  --> $DIR/shadowed-path-in-trait-bound-suggestion.rs:9:24
3   |
4LL |     pub struct A<H: A::Trait>(pub H);
5   |                        ^^^^^ not found in `A`
6   |
7help: consider importing this trait
8   |
9LL +     use A::Trait;
10   |
11help: if you import `Trait`, refer to it directly
12   |
13LL -     pub struct A<H: A::Trait>(pub H);
14LL +     pub struct A<H: Trait>(pub H);
15   |
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0405`.