fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `Uwu<10, 12>: Trait` is not satisfied 2 --> $DIR/rp_impl_trait_fail.rs:6:14 3 | 4LL | fn rawr() -> impl Trait { 5 | ^^^^^^^^^^ the trait `Trait` is not implemented for `Uwu<10, 12>` 6LL | 7LL | Uwu::<10, 12> 8 | ------------- return type was inferred to be `Uwu<10, 12>` here 9 | 10 = help: the trait `Trait` is implemented for `Uwu<N>` 11 12error[E0277]: the trait bound `u32: Traitor<N>` is not satisfied 13 --> $DIR/rp_impl_trait_fail.rs:16:26 14 | 15LL | fn uwu<const N: u8>() -> impl Traitor<N> { 16 | ^^^^^^^^^^^^^^^ the trait `Traitor<N>` is not implemented for `u32` 17LL | 18LL | 1_u32 19 | ----- return type was inferred to be `u32` here 20 | 21 = help: the trait `Traitor<N, 2>` is implemented for `u32` 22 23error[E0277]: the trait bound `u64: Traitor` is not satisfied 24 --> $DIR/rp_impl_trait_fail.rs:21:13 25 | 26LL | fn owo() -> impl Traitor { 27 | ^^^^^^^^^^^^ the trait `Traitor` is not implemented for `u64` 28LL | 29LL | 1_u64 30 | ----- return type was inferred to be `u64` here 31 | 32 = help: the trait `Traitor<1, 2>` is implemented for `u64` 33 34error: aborting due to 3 previous errors 35 36For more information about this error, try `rustc --explain E0277`.