1
Fork 0
rust/src/test/ui/const-generics/defaults/rp_impl_trait_fail.stderr

33 lines
1.1 KiB
Text
Raw Normal View History

2021-10-20 23:18:26 +01:00
error[E0277]: the trait bound `Uwu<10_u32, 12_u32>: Trait` is not satisfied
--> $DIR/rp_impl_trait_fail.rs:7:5
2021-10-20 23:18:26 +01:00
|
LL | Uwu::<10, 12>
| ^^^^^^^^^^^^^ the trait `Trait` is not implemented for `Uwu<10_u32, 12_u32>`
2021-10-20 23:18:26 +01:00
|
= help: the following implementations were found:
<Uwu<N> as Trait>
error[E0277]: the trait bound `u32: Traitor<N, N>` is not satisfied
--> $DIR/rp_impl_trait_fail.rs:18:5
2021-10-20 23:18:26 +01:00
|
LL | 1_u32
| ^^^^^ the trait `Traitor<N, N>` is not implemented for `u32`
2021-10-20 23:18:26 +01:00
|
= help: the following implementations were found:
<u32 as Traitor<N, 2_u8>>
<u64 as Traitor<1_u8, 2_u8>>
2021-10-20 23:18:26 +01:00
error[E0277]: the trait bound `u64: Traitor<1_u8, 1_u8>` is not satisfied
--> $DIR/rp_impl_trait_fail.rs:23:5
2021-10-20 23:18:26 +01:00
|
LL | 1_u64
| ^^^^^ the trait `Traitor<1_u8, 1_u8>` is not implemented for `u64`
2021-10-20 23:18:26 +01:00
|
= help: the following implementations were found:
<u64 as Traitor<1_u8, 2_u8>>
<u32 as Traitor<N, 2_u8>>
2021-10-20 23:18:26 +01:00
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0277`.