]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/const_in_pattern/no-eq-branch-fail.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / consts / const_in_pattern / no-eq-branch-fail.stderr
index ee78c6f5c3e9f9206b603857e0372ed5d104027d..e505dad69be072f8b014abd77f21173dc8a54f45 100644 (file)
@@ -4,11 +4,5 @@ error: to use a constant of type `Foo` in a pattern, `Foo` must be annotated wit
 LL |         BAR_BAZ => panic!(),
    |         ^^^^^^^
 
-error: to use a constant of type `Foo` in a pattern, `Foo` must be annotated with `#[derive(PartialEq, Eq)]`
-  --> $DIR/no-eq-branch-fail.rs:21:9
-   |
-LL |         BAR_BAZ => panic!(),
-   |         ^^^^^^^
-
-error: aborting due to 2 previous errors
+error: aborting due to previous error