about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-12-12 12:26:16 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-12-13 09:53:36 +0000
commit2e2a4797a26b0effe15815b403be4ba752cc7a0b (patch)
tree35c22373d4cf4554c3bf45f178be06598c929666 /src/test/ui/error-codes
parent063b1675b2ed27948a7821af639a28c1a669d868 (diff)
downloadrust-2e2a4797a26b0effe15815b403be4ba752cc7a0b.tar.gz
rust-2e2a4797a26b0effe15815b403be4ba752cc7a0b.zip
Don't emit empty notes
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0004-2.stderr2
-rw-r--r--src/test/ui/error-codes/E0005.stderr2
-rw-r--r--src/test/ui/error-codes/E0297.stderr2
3 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/error-codes/E0004-2.stderr b/src/test/ui/error-codes/E0004-2.stderr
index 200b5235259..7dd1396529b 100644
--- a/src/test/ui/error-codes/E0004-2.stderr
+++ b/src/test/ui/error-codes/E0004-2.stderr
@@ -6,8 +6,6 @@ LL |     match x { }
    |
 note: `Option<i32>` defined here
   --> $SRC_DIR/core/src/option.rs:LL:COL
-   |
-   = note: 
 $SRC_DIR/core/src/option.rs:LL:COL: not covered
 $SRC_DIR/core/src/option.rs:LL:COL: not covered
    = note: the matched value is of type `Option<i32>`
diff --git a/src/test/ui/error-codes/E0005.stderr b/src/test/ui/error-codes/E0005.stderr
index 762654671e0..ef1bb60d149 100644
--- a/src/test/ui/error-codes/E0005.stderr
+++ b/src/test/ui/error-codes/E0005.stderr
@@ -8,8 +8,6 @@ LL |     let Some(y) = x;
    = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
 note: `Option<i32>` defined here
   --> $SRC_DIR/core/src/option.rs:LL:COL
-   |
-   = note: 
 $SRC_DIR/core/src/option.rs:LL:COL: not covered
    = note: the matched value is of type `Option<i32>`
 help: you might want to use `if let` to ignore the variant that isn't matched
diff --git a/src/test/ui/error-codes/E0297.stderr b/src/test/ui/error-codes/E0297.stderr
index 4d4bdfc09e9..5afa25dcb72 100644
--- a/src/test/ui/error-codes/E0297.stderr
+++ b/src/test/ui/error-codes/E0297.stderr
@@ -6,8 +6,6 @@ LL |     for Some(x) in xs {}
    |
 note: `Option<i32>` defined here
   --> $SRC_DIR/core/src/option.rs:LL:COL
-   |
-   = note: 
 $SRC_DIR/core/src/option.rs:LL:COL: not covered
    = note: the matched value is of type `Option<i32>`