diff options
Diffstat (limited to 'src/test/ui/consts/const_in_pattern/cross-crate-fail.stderr')
-rw-r--r-- | src/test/ui/consts/const_in_pattern/cross-crate-fail.stderr | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/consts/const_in_pattern/cross-crate-fail.stderr b/src/test/ui/consts/const_in_pattern/cross-crate-fail.stderr deleted file mode 100644 index a8066a88c..000000000 --- a/src/test/ui/consts/const_in_pattern/cross-crate-fail.stderr +++ /dev/null @@ -1,14 +0,0 @@ -error: to use a constant of type `CustomEq` in a pattern, `CustomEq` must be annotated with `#[derive(PartialEq, Eq)]` - --> $DIR/cross-crate-fail.rs:13:9 - | -LL | consts::SOME => panic!(), - | ^^^^^^^^^^^^ - -error: to use a constant of type `CustomEq` in a pattern, `CustomEq` must be annotated with `#[derive(PartialEq, Eq)]` - --> $DIR/cross-crate-fail.rs:20:9 - | -LL | <Defaulted as consts::AssocConst>::SOME => panic!(), - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -error: aborting due to 2 previous errors - |