1 error[E0322]: explicit impls for the `DiscriminantKind` trait are not permitted
2 --> $DIR/forbidden-discriminant-kind-impl.rs:9:1
4 LL | impl DiscriminantKind for NewType {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl of 'DiscriminantKind' not allowed
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0322`.