1 error[E0277]: the trait bound `Foo: Trait` is not satisfied
2 --> $DIR/parent-label.rs:14:11
7 | - ^^^^^^ the trait `Trait` is not implemented for `Foo`
9 | required by a bound introduced by this call
11 note: required by a bound in `f`
12 --> $DIR/parent-label.rs:10:9
14 LL | fn f<T: Trait>(x: T) {}
15 | ^^^^^ required by this bound in `f`
17 error[E0277]: the trait bound `Foo: Trait` is not satisfied
18 --> $DIR/parent-label.rs:16:15
23 | - ^^^^^^ the trait `Trait` is not implemented for `Foo`
25 | required by a bound introduced by this call
27 note: required by a bound in `f`
28 --> $DIR/parent-label.rs:10:9
30 LL | fn f<T: Trait>(x: T) {}
31 | ^^^^^ required by this bound in `f`
33 error[E0277]: the trait bound `Foo: Trait` is not satisfied
34 --> $DIR/parent-label.rs:22:15
37 | --------- in this scope
40 | - ^^^^^^ the trait `Trait` is not implemented for `Foo`
42 | required by a bound introduced by this call
44 note: required by a bound in `f`
45 --> $DIR/parent-label.rs:10:9
47 LL | fn f<T: Trait>(x: T) {}
48 | ^^^^^ required by this bound in `f`
50 error[E0277]: the trait bound `Foo: Trait` is not satisfied
51 --> $DIR/parent-label.rs:26:7
54 | --------- in this scope
57 | - ^^^^^^ the trait `Trait` is not implemented for `Foo`
59 | required by a bound introduced by this call
61 note: required by a bound in `f`
62 --> $DIR/parent-label.rs:10:9
64 LL | fn f<T: Trait>(x: T) {}
65 | ^^^^^ required by this bound in `f`
67 error: aborting due to 4 previous errors
69 For more information about this error, try `rustc --explain E0277`.