error[E0741]: using raw pointers as const generic parameters is forbidden --> $DIR/raw-ptr-const-param.rs:6:23 | LL | struct Const; | ^^^^^^^^^^ error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0741`.