]> git.lizzy.rs Git - rust.git/blob - src/test/ui/chalkify/generic_impls.stderr
Rollup merge of #92959 - asquared31415:test-non-fn-help, r=estebank
[rust.git] / src / test / ui / chalkify / generic_impls.stderr
1 error[E0277]: the trait bound `(Option<T>, f32): Foo` is not satisfied
2   --> $DIR/generic_impls.rs:12:13
3    |
4 LL |     gimme::<(Option<T>, f32)>();
5    |             ^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `(Option<T>, f32)`
6    |
7    = help: the following implementations were found:
8              <(T, u32) as Foo>
9 note: required by a bound in `gimme`
10   --> $DIR/generic_impls.rs:7:13
11    |
12 LL | fn gimme<F: Foo>() { }
13    |             ^^^ required by this bound in `gimme`
14
15 error[E0277]: the trait bound `(i32, f32): Foo` is not satisfied
16   --> $DIR/generic_impls.rs:17:13
17    |
18 LL |     gimme::<(i32, f32)>();
19    |             ^^^^^^^^^^ the trait `Foo` is not implemented for `(i32, f32)`
20    |
21    = help: the following implementations were found:
22              <(T, u32) as Foo>
23 note: required by a bound in `gimme`
24   --> $DIR/generic_impls.rs:7:13
25    |
26 LL | fn gimme<F: Foo>() { }
27    |             ^^^ required by this bound in `gimme`
28
29 error: aborting due to 2 previous errors
30
31 For more information about this error, try `rustc --explain E0277`.