be650a7ecd
This adds a bunch of revisions to const-generic tests
19 lines
497 B
Plaintext
19 lines
497 B
Plaintext
error: constant expression depends on a generic parameter
|
|
--> $DIR/wf-misc.rs:9:12
|
|
|
|
|
LL | let _: [u8; N + 1];
|
|
| ^^^^^^^^^^^
|
|
|
|
|
= note: this may fail depending on what value the parameter takes
|
|
|
|
error: constant expression depends on a generic parameter
|
|
--> $DIR/wf-misc.rs:17:12
|
|
|
|
|
LL | let _: Const::<{N + 1}>;
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: this may fail depending on what value the parameter takes
|
|
|
|
error: aborting due to 2 previous errors
|
|
|