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-deref.rs:9:23
|
2020-08-09 05:01:19 +00:00
|
|
|
|
|
|
|
|
LL | struct Const<const P: *const u32>;
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
error: using raw pointers as const generic parameters is forbidden
|
2020-11-17 11:44:21 +01:00
|
|
|
--> $DIR/raw-ptr-const-param-deref.rs:11:15
|
2020-08-09 05:01:19 +00:00
|
|
|
|
|
|
|
|
LL | impl<const P: *const u32> Const<P> {
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|