rust/tests/ui/const-generics/defaults/default-on-impl.stderr
2025-08-06 01:26:26 +02:00

9 lines
210 B
Plaintext

error: defaults for generic parameters are not allowed here
--> $DIR/default-on-impl.rs:3:6
|
LL | impl<const N: usize = 1> Foo<N> {}
| ^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error