summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/raw-ptr-const-param.min.stderr
blob: 310422aafcd352d05c6adc7a0f2cee6d74ca5b70 (plain)
1
2
3
4
5
6
7
8
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>;
   |                       ^^^^^^^^^^

error: aborting due to previous error