]>
Commit | Line | Data |
---|---|---|
1b1a35ee | 1 | error[E0277]: the trait bound `(Option<T>, f32): Foo` is not satisfied |
f9f354fc XL |
2 | --> $DIR/generic_impls.rs:12:13 |
3 | | | |
f9f354fc | 4 | LL | gimme::<(Option<T>, f32)>(); |
1b1a35ee | 5 | | ^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `(Option<T>, f32)` |
f9f354fc | 6 | | |
04454e1e | 7 | = help: the trait `Foo` is implemented for `(T, u32)` |
94222f64 XL |
8 | note: required by a bound in `gimme` |
9 | --> $DIR/generic_impls.rs:7:13 | |
10 | | | |
11 | LL | fn gimme<F: Foo>() { } | |
12 | | ^^^ required by this bound in `gimme` | |
f9f354fc XL |
13 | |
14 | error[E0277]: the trait bound `(i32, f32): Foo` is not satisfied | |
15 | --> $DIR/generic_impls.rs:17:13 | |
16 | | | |
f9f354fc XL |
17 | LL | gimme::<(i32, f32)>(); |
18 | | ^^^^^^^^^^ the trait `Foo` is not implemented for `(i32, f32)` | |
19 | | | |
04454e1e | 20 | = help: the trait `Foo` is implemented for `(T, u32)` |
94222f64 XL |
21 | note: required by a bound in `gimme` |
22 | --> $DIR/generic_impls.rs:7:13 | |
23 | | | |
24 | LL | fn gimme<F: Foo>() { } | |
25 | | ^^^ required by this bound in `gimme` | |
f9f354fc XL |
26 | |
27 | error: aborting due to 2 previous errors | |
28 | ||
29 | For more information about this error, try `rustc --explain E0277`. |