]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/const_in_pattern/reject_non_partial_eq.stderr
Use correct type in diagnostics again
[rust.git] / src / test / ui / consts / const_in_pattern / reject_non_partial_eq.stderr
index 8462c32ea809b401eb3056eb62ca27b45faefec5..95cfa4a9ebe95a24b6f29a0f4e0998e68d14f747 100644 (file)
@@ -1,4 +1,4 @@
-error: to use a constant of type `Option<NoPartialEq>` in a pattern, `Option<NoPartialEq>` must be annotated with `#[derive(PartialEq, Eq)]`
+error: to use a constant of type `NoPartialEq` in a pattern, `NoPartialEq` must be annotated with `#[derive(PartialEq, Eq)]`
   --> $DIR/reject_non_partial_eq.rs:28:9
    |
 LL |         NO_PARTIAL_EQ_NONE => println!("NO_PARTIAL_EQ_NONE"),