2022-07-23 15:09:52 -05:00
|
|
|
error[E0741]: using raw pointers as const generic parameters is forbidden
|
2020-11-17 04:44:21 -06:00
|
|
|
--> $DIR/raw-ptr-const-param.rs:6:23
|
2020-08-09 00:01:19 -05:00
|
|
|
|
|
|
|
|
LL | struct Const<const P: *const u32>;
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2020-08-09 00:01:19 -05:00
|
|
|
|
2022-07-23 15:09:52 -05:00
|
|
|
For more information about this error, try `rustc --explain E0741`.
|