]>
Commit | Line | Data |
---|---|---|
3dfed10e | 1 | error: using raw pointers as const generic parameters is forbidden |
5869c6ff | 2 | --> $DIR/raw-ptr-const-param-deref.rs:9:23 |
3dfed10e XL |
3 | | |
4 | LL | struct Const<const P: *const u32>; | |
5 | | ^^^^^^^^^^ | |
6 | ||
7 | error: using raw pointers as const generic parameters is forbidden | |
5869c6ff | 8 | --> $DIR/raw-ptr-const-param-deref.rs:11:15 |
3dfed10e XL |
9 | | |
10 | LL | impl<const P: *const u32> Const<P> { | |
11 | | ^^^^^^^^^^ | |
12 | ||
13 | error: aborting due to 2 previous errors | |
14 |