Split part of adt_const_params
into unsized_const_params
This commit is contained in:
parent
42cc42b942
commit
d0c11bf6e3
140 changed files with 1130 additions and 559 deletions
|
@ -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`.
|
Loading…
Add table
Add a link
Reference in a new issue