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