summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/raw-ptr-const-param.full.stderr
blob: 69f1aae5681a4371897857de6529bce118bec9a3 (plain)
1
2
3
4
5
6
7
8
9
error[E0741]: 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

For more information about this error, try `rustc --explain E0741`.