@@ -6,21 +6,8 @@ LL | fn rawr() -> impl Trait {
66 |
77 = help: the trait `Trait` is implemented for `Uwu<N>`
88
9- error[E0277]: the trait bound `Uwu<10_u32, 12_u32>: Trait` is not satisfied
10- --> $DIR/rp_impl_trait_fail.rs:6:25
11- |
12- LL | fn rawr() -> impl Trait {
13- | _________________________^
14- LL | |
15- LL | |
16- LL | | Uwu::<10, 12>
17- LL | | }
18- | |_^ the trait `Trait` is not implemented for `Uwu<10_u32, 12_u32>`
19- |
20- = help: the trait `Trait` is implemented for `Uwu<N>`
21-
229error[E0277]: the trait bound `u32: Traitor<N, N>` is not satisfied
23- --> $DIR/rp_impl_trait_fail.rs:18 :26
10+ --> $DIR/rp_impl_trait_fail.rs:17 :26
2411 |
2512LL | fn uwu<const N: u8>() -> impl Traitor<N> {
2613 | ^^^^^^^^^^^^^^^ the trait `Traitor<N, N>` is not implemented for `u32`
@@ -29,23 +16,8 @@ LL | fn uwu<const N: u8>() -> impl Traitor<N> {
2916 <u32 as Traitor<N, 2_u8>>
3017 <u64 as Traitor<1_u8, 2_u8>>
3118
32- error[E0277]: the trait bound `u32: Traitor<N, N>` is not satisfied
33- --> $DIR/rp_impl_trait_fail.rs:18:42
34- |
35- LL | fn uwu<const N: u8>() -> impl Traitor<N> {
36- | __________________________________________^
37- LL | |
38- LL | |
39- LL | | 1_u32
40- LL | | }
41- | |_^ the trait `Traitor<N, N>` is not implemented for `u32`
42- |
43- = help: the following other types implement trait `Traitor<N, M>`:
44- <u32 as Traitor<N, 2_u8>>
45- <u64 as Traitor<1_u8, 2_u8>>
46-
4719error[E0277]: the trait bound `u64: Traitor<1_u8, 1_u8>` is not satisfied
48- --> $DIR/rp_impl_trait_fail.rs:24 :13
20+ --> $DIR/rp_impl_trait_fail.rs:22 :13
4921 |
5022LL | fn owo() -> impl Traitor {
5123 | ^^^^^^^^^^^^ the trait `Traitor<1_u8, 1_u8>` is not implemented for `u64`
@@ -54,21 +26,6 @@ LL | fn owo() -> impl Traitor {
5426 <u32 as Traitor<N, 2_u8>>
5527 <u64 as Traitor<1_u8, 2_u8>>
5628
57- error[E0277]: the trait bound `u64: Traitor<1_u8, 1_u8>` is not satisfied
58- --> $DIR/rp_impl_trait_fail.rs:24:26
59- |
60- LL | fn owo() -> impl Traitor {
61- | __________________________^
62- LL | |
63- LL | |
64- LL | | 1_u64
65- LL | | }
66- | |_^ the trait `Traitor<1_u8, 1_u8>` is not implemented for `u64`
67- |
68- = help: the following other types implement trait `Traitor<N, M>`:
69- <u32 as Traitor<N, 2_u8>>
70- <u64 as Traitor<1_u8, 2_u8>>
71-
72- error: aborting due to 6 previous errors
29+ error: aborting due to 3 previous errors
7330
7431For more information about this error, try `rustc --explain E0277`.
0 commit comments