]> git.proxmox.com Git - rustc.git/blame - src/test/ui/did_you_mean/issue-39802-show-5-trait-impls.stderr
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / did_you_mean / issue-39802-show-5-trait-impls.stderr
CommitLineData
8bb4bdeb 1error[E0277]: the trait bound `i8: Foo<i32>` is not satisfied
e1599b0c 2 --> $DIR/issue-39802-show-5-trait-impls.rs:24:21
8bb4bdeb 3 |
532ac7d7 4LL | Foo::<i32>::bar(&1i8);
c295e0f8
XL
5 | --------------- ^^^^ the trait `Foo<i32>` is not implemented for `i8`
6 | |
7 | required by a bound introduced by this call
8bb4bdeb
XL
8 |
9 = help: the following implementations were found:
b7449926 10 <i8 as Foo<bool>>
8bb4bdeb
XL
11 <i8 as Foo<u16>>
12 <i8 as Foo<u32>>
13 <i8 as Foo<u64>>
5099ac24 14 and 5 others
8bb4bdeb
XL
15
16error[E0277]: the trait bound `u8: Foo<i32>` is not satisfied
e1599b0c 17 --> $DIR/issue-39802-show-5-trait-impls.rs:25:21
8bb4bdeb 18 |
532ac7d7 19LL | Foo::<i32>::bar(&1u8);
c295e0f8
XL
20 | --------------- ^^^^ the trait `Foo<i32>` is not implemented for `u8`
21 | |
22 | required by a bound introduced by this call
8bb4bdeb
XL
23 |
24 = help: the following implementations were found:
b7449926 25 <u8 as Foo<bool>>
8bb4bdeb
XL
26 <u8 as Foo<u16>>
27 <u8 as Foo<u32>>
28 <u8 as Foo<u64>>
5099ac24 29 and 5 others
8bb4bdeb
XL
30
31error[E0277]: the trait bound `bool: Foo<i32>` is not satisfied
e1599b0c 32 --> $DIR/issue-39802-show-5-trait-impls.rs:26:21
8bb4bdeb 33 |
532ac7d7 34LL | Foo::<i32>::bar(&true);
c295e0f8
XL
35 | --------------- ^^^^^ the trait `Foo<i32>` is not implemented for `bool`
36 | |
37 | required by a bound introduced by this call
8bb4bdeb
XL
38 |
39 = help: the following implementations were found:
9fa01778
XL
40 <bool as Foo<bool>>
41 <bool as Foo<i8>>
8bb4bdeb
XL
42 <bool as Foo<u16>>
43 <bool as Foo<u32>>
8bb4bdeb 44 and 2 others
8bb4bdeb 45
041b39d2 46error: aborting due to 3 previous errors
8bb4bdeb 47
0531ce1d 48For more information about this error, try `rustc --explain E0277`.