fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unconstrained generic constant 2 --> $DIR/generic-expr-default.rs:5:54 3 | 4LL | pub fn needs_evaluatable_bound<const N1: usize>() -> Foo<N1> { 5 | ^^^^^^^ 6 | 7 = help: try adding a `where` bound using this expression: `where [(); { N + 1 }]:` 8 9error: unconstrained generic constant 10 --> $DIR/generic-expr-default.rs:14:58 11 | 12LL | fn needs_evaluatable_bound_alias<T, const N: usize>() -> FooAlias<N> 13 | ^^^^^^^^^^^ 14 | 15 = help: try adding a `where` bound using this expression: `where [(); { N + 1 }]:` 16 17error: aborting due to 2 previous errors 18