]> git.proxmox.com Git - rustc.git/blame - src/test/ui/chalkify/generic_impls.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / chalkify / generic_impls.stderr
CommitLineData
1b1a35ee 1error[E0277]: the trait bound `(Option<T>, f32): Foo` is not satisfied
f9f354fc
XL
2 --> $DIR/generic_impls.rs:12:13
3 |
f9f354fc 4LL | 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
8note: required by a bound in `gimme`
9 --> $DIR/generic_impls.rs:7:13
10 |
11LL | fn gimme<F: Foo>() { }
12 | ^^^ required by this bound in `gimme`
f9f354fc
XL
13
14error[E0277]: the trait bound `(i32, f32): Foo` is not satisfied
15 --> $DIR/generic_impls.rs:17:13
16 |
f9f354fc
XL
17LL | 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
21note: required by a bound in `gimme`
22 --> $DIR/generic_impls.rs:7:13
23 |
24LL | fn gimme<F: Foo>() { }
25 | ^^^ required by this bound in `gimme`
f9f354fc
XL
26
27error: aborting due to 2 previous errors
28
29For more information about this error, try `rustc --explain E0277`.