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