fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0207]: the const parameter `N` is not constrained by the impl trait, self type, or predicates 2 --> $DIR/issue-68366.rs:11:7 3 | 4LL | impl <const N: usize> Collatz<{Some(N)}> {} 5 | ^^^^^^^^^^^^^^ unconstrained const parameter 6 | 7 = note: expressions using a const parameter must map each value to a distinct output value 8 = note: proving the result of expressions other than the parameter are unique is not supported 9 10error[E0207]: the const parameter `N` is not constrained by the impl trait, self type, or predicates 11 --> $DIR/issue-68366.rs:17:6 12 | 13LL | impl<const N: usize> Foo {} 14 | ^^^^^^^^^^^^^^ unconstrained const parameter 15 | 16 = note: expressions using a const parameter must map each value to a distinct output value 17 = note: proving the result of expressions other than the parameter are unique is not supported 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0207`.