mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
10 lines
321 B
Plaintext
10 lines
321 B
Plaintext
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`.
|