]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/consts/const_in_pattern/no-eq-branch-fail.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / consts / const_in_pattern / no-eq-branch-fail.stderr
index cb870ec7dbcf2738013ecd9d8886442811f676df..ee78c6f5c3e9f9206b603857e0372ed5d104027d 100644 (file)
@@ -1,11 +1,11 @@
 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:22:9
+  --> $DIR/no-eq-branch-fail.rs:21:9
    |
 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:22:9
+  --> $DIR/no-eq-branch-fail.rs:21:9
    |
 LL |         BAR_BAZ => panic!(),
    |         ^^^^^^^