blob: 4de98191d5b779c48f5e4da9ea83778f6ce62967 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: using raw pointers as const generic parameters is forbidden
--> $DIR/raw-ptr-const-param.rs:6:23
|
LL | struct Const<const P: *const u32>;
| ^^^^^^^^^^
|
= note: the only supported types are integers, `bool` and `char`
error: aborting due to 1 previous error
|