1
Fork 0

Split part of adt_const_params into unsized_const_params

This commit is contained in:
Boxy 2024-07-14 13:38:51 +01:00 committed by Boxy
parent 42cc42b942
commit d0c11bf6e3
140 changed files with 1130 additions and 559 deletions

View file

@ -0,0 +1,9 @@
error[E0741]: `&'static ()` can't be used as a const parameter type
--> $DIR/transmute-const-param-static-reference.rs:9:23
|
LL | struct Const<const P: &'static ()>;
| ^^^^^^^^^^^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0741`.