2020-08-09 05:01:19 +00:00
|
|
|
error: using raw pointers as const generic parameters is forbidden
|
2020-11-17 11:44:21 +01:00
|
|
|
--> $DIR/raw-ptr-const-param.rs:6:23
|
2020-08-09 05:01:19 +00:00
|
|
|
|
|
|
|
|
LL | struct Const<const P: *const u32>;
|
|
|
|
| ^^^^^^^^^^
|
2023-09-28 20:51:48 +00:00
|
|
|
|
|
|
|
|
= note: the only supported types are integers, `bool` and `char`
|
2020-08-09 05:01:19 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2020-08-09 05:01:19 +00:00
|
|
|
|