about summary refs log tree commit diff
path: root/src/test/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.stderr
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-12-16 12:19:43 +0100
committerRalf Jung <post@ralfj.de>2022-12-16 12:19:43 +0100
commit3d67703e75912a0f58b43feae8ee8b5b20504dfe (patch)
treec05fb48510935410d6bea3011c5442c26bbec2ce /src/test/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.stderr
parent33e5b953de13307a4b4206d85b74ea55e81d38a1 (diff)
parent4251289f27949cec69d8aa39d3891a4977fbc856 (diff)
Merge from rustc
Diffstat (limited to 'src/test/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.stderr')
-rw-r--r--src/test/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.stderr7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/test/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.stderr b/src/test/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.stderr
index f3dca9bcb07..2a016048f2f 100644
--- a/src/test/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.stderr
+++ b/src/test/ui/pattern/suggest-adding-appropriate-missing-pattern-excluding-comments.stderr
@@ -6,12 +6,9 @@ LL |     match Some(1) {
    |
 note: `Option<i32>` defined here
   --> $SRC_DIR/core/src/option.rs:LL:COL
+  ::: $SRC_DIR/core/src/option.rs:LL:COL
    |
-LL | pub enum Option<T> {
-   | ------------------
-...
-LL |     None,
-   |     ^^^^ not covered
+   = note: not covered
    = note: the matched value is of type `Option<i32>`
 help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
    |