1 error[E0277]: the trait bound `NoClone: Clone` is not satisfied
2 --> $DIR/struct-path-alias-bounds.rs:9:13
4 LL | let s = A { a: NoClone };
5 | ^ the trait `Clone` is not implemented for `NoClone`
7 note: required by a bound in `S`
8 --> $DIR/struct-path-alias-bounds.rs:3:13
10 LL | struct S<T: Clone> { a: T }
11 | ^^^^^ required by this bound in `S`
12 help: consider annotating `NoClone` with `#[derive(Clone)]`
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0277`.