]>
Commit | Line | Data |
---|---|---|
3c0e092e | 1 | error[E0277]: the trait bound `Uwu<10_u32, 12_u32>: Trait` is not satisfied |
a2a8927a | 2 | --> $DIR/rp_impl_trait_fail.rs:6:14 |
3c0e092e XL |
3 | | |
4 | LL | fn rawr() -> impl Trait { | |
5 | | ^^^^^^^^^^ the trait `Trait` is not implemented for `Uwu<10_u32, 12_u32>` | |
6 | | | |
04454e1e | 7 | = help: the trait `Trait` is implemented for `Uwu<N>` |
3c0e092e XL |
8 | |
9 | error[E0277]: the trait bound `u32: Traitor<N, N>` is not satisfied | |
a2a8927a | 10 | --> $DIR/rp_impl_trait_fail.rs:17:26 |
3c0e092e XL |
11 | | |
12 | LL | fn uwu<const N: u8>() -> impl Traitor<N> { | |
13 | | ^^^^^^^^^^^^^^^ the trait `Traitor<N, N>` is not implemented for `u32` | |
14 | | | |
04454e1e | 15 | = help: the following other types implement trait `Traitor<N, M>`: |
3c0e092e | 16 | <u32 as Traitor<N, 2_u8>> |
5099ac24 | 17 | <u64 as Traitor<1_u8, 2_u8>> |
3c0e092e XL |
18 | |
19 | error[E0277]: the trait bound `u64: Traitor<1_u8, 1_u8>` is not satisfied | |
a2a8927a | 20 | --> $DIR/rp_impl_trait_fail.rs:22:13 |
3c0e092e XL |
21 | | |
22 | LL | fn owo() -> impl Traitor { | |
23 | | ^^^^^^^^^^^^ the trait `Traitor<1_u8, 1_u8>` is not implemented for `u64` | |
24 | | | |
04454e1e | 25 | = help: the following other types implement trait `Traitor<N, M>`: |
5099ac24 | 26 | <u32 as Traitor<N, 2_u8>> |
04454e1e | 27 | <u64 as Traitor<1_u8, 2_u8>> |
3c0e092e XL |
28 | |
29 | error: aborting due to 3 previous errors | |
30 | ||
31 | For more information about this error, try `rustc --explain E0277`. |