Files
rust/tests/ui/const-generics/defaults/default-on-impl.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
210 B
Plaintext
Raw Normal View History

2025-08-06 01:26:26 +02:00
error: defaults for generic parameters are not allowed here
--> $DIR/default-on-impl.rs:3:6
2021-04-18 13:57:22 +02:00
|
LL | impl<const N: usize = 1> Foo<N> {}
| ^^^^^^^^^^^^^^^^^^
2021-04-18 13:57:22 +02:00
error: aborting due to 1 previous error
2021-04-18 13:57:22 +02:00