@@ -7,22 +7,8 @@ LL | fn rawr() -> impl Trait {
7
7
= help: the following implementations were found:
8
8
<Uwu<N> as Trait>
9
9
10
- error[E0277]: the trait bound `Uwu<10_u32, 12_u32>: Trait` is not satisfied
11
- --> $DIR/rp_impl_trait_fail.rs:6:25
12
- |
13
- LL | fn rawr() -> impl Trait {
14
- | _________________________^
15
- LL | |
16
- LL | |
17
- LL | | Uwu::<10, 12>
18
- LL | | }
19
- | |_^ the trait `Trait` is not implemented for `Uwu<10_u32, 12_u32>`
20
- |
21
- = help: the following implementations were found:
22
- <Uwu<N> as Trait>
23
-
24
10
error[E0277]: the trait bound `u32: Traitor<N, N>` is not satisfied
25
- --> $DIR/rp_impl_trait_fail.rs:18 :26
11
+ --> $DIR/rp_impl_trait_fail.rs:17 :26
26
12
|
27
13
LL | fn uwu<const N: u8>() -> impl Traitor<N> {
28
14
| ^^^^^^^^^^^^^^^ the trait `Traitor<N, N>` is not implemented for `u32`
@@ -31,23 +17,8 @@ LL | fn uwu<const N: u8>() -> impl Traitor<N> {
31
17
<u32 as Traitor<N, 2_u8>>
32
18
<u64 as Traitor<1_u8, 2_u8>>
33
19
34
- error[E0277]: the trait bound `u32: Traitor<N, N>` is not satisfied
35
- --> $DIR/rp_impl_trait_fail.rs:18:42
36
- |
37
- LL | fn uwu<const N: u8>() -> impl Traitor<N> {
38
- | __________________________________________^
39
- LL | |
40
- LL | |
41
- LL | | 1_u32
42
- LL | | }
43
- | |_^ the trait `Traitor<N, N>` is not implemented for `u32`
44
- |
45
- = help: the following implementations were found:
46
- <u32 as Traitor<N, 2_u8>>
47
- <u64 as Traitor<1_u8, 2_u8>>
48
-
49
20
error[E0277]: the trait bound `u64: Traitor<1_u8, 1_u8>` is not satisfied
50
- --> $DIR/rp_impl_trait_fail.rs:24 :13
21
+ --> $DIR/rp_impl_trait_fail.rs:22 :13
51
22
|
52
23
LL | fn owo() -> impl Traitor {
53
24
| ^^^^^^^^^^^^ the trait `Traitor<1_u8, 1_u8>` is not implemented for `u64`
@@ -56,21 +27,6 @@ LL | fn owo() -> impl Traitor {
56
27
<u64 as Traitor<1_u8, 2_u8>>
57
28
<u32 as Traitor<N, 2_u8>>
58
29
59
- error[E0277]: the trait bound `u64: Traitor<1_u8, 1_u8>` is not satisfied
60
- --> $DIR/rp_impl_trait_fail.rs:24:26
61
- |
62
- LL | fn owo() -> impl Traitor {
63
- | __________________________^
64
- LL | |
65
- LL | |
66
- LL | | 1_u64
67
- LL | | }
68
- | |_^ the trait `Traitor<1_u8, 1_u8>` is not implemented for `u64`
69
- |
70
- = help: the following implementations were found:
71
- <u64 as Traitor<1_u8, 2_u8>>
72
- <u32 as Traitor<N, 2_u8>>
73
-
74
- error: aborting due to 6 previous errors
30
+ error: aborting due to 3 previous errors
75
31
76
32
For more information about this error, try `rustc --explain E0277`.
0 commit comments