about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/target-feature/missing-plusminus.stderr14
-rw-r--r--src/test/ui/target-feature/similar-feature-suggestion.stderr17
2 files changed, 2 insertions, 29 deletions
diff --git a/src/test/ui/target-feature/missing-plusminus.stderr b/src/test/ui/target-feature/missing-plusminus.stderr
index 1d446107f70..93abf350805 100644
--- a/src/test/ui/target-feature/missing-plusminus.stderr
+++ b/src/test/ui/target-feature/missing-plusminus.stderr
@@ -2,17 +2,5 @@ warning: unknown feature specified for `-Ctarget-feature`: `banana`
    |
    = note: features must begin with a `+` to enable or `-` to disable it
 
-warning: unknown feature specified for `-Ctarget-feature`: `banana`
-   |
-   = note: features must begin with a `+` to enable or `-` to disable it
-
-warning: unknown feature specified for `-Ctarget-feature`: `banana`
-   |
-   = note: features must begin with a `+` to enable or `-` to disable it
-
-warning: unknown feature specified for `-Ctarget-feature`: `banana`
-   |
-   = note: features must begin with a `+` to enable or `-` to disable it
-
-warning: 4 warnings emitted
+warning: 1 warning emitted
 
diff --git a/src/test/ui/target-feature/similar-feature-suggestion.stderr b/src/test/ui/target-feature/similar-feature-suggestion.stderr
index de4d0064fbc..2f376065fdf 100644
--- a/src/test/ui/target-feature/similar-feature-suggestion.stderr
+++ b/src/test/ui/target-feature/similar-feature-suggestion.stderr
@@ -3,20 +3,5 @@ warning: unknown feature specified for `-Ctarget-feature`: `rdrnd`
    = note: it is still passed through to the codegen backend
    = help: you might have meant: `rdrand`
 
-warning: unknown feature specified for `-Ctarget-feature`: `rdrnd`
-   |
-   = note: it is still passed through to the codegen backend
-   = help: did you mean: `rdrand`
-
-warning: unknown feature specified for `-Ctarget-feature`: `rdrnd`
-   |
-   = note: it is still passed through to the codegen backend
-   = help: did you mean: `rdrand`
-
-warning: unknown feature specified for `-Ctarget-feature`: `rdrnd`
-   |
-   = note: it is still passed through to the codegen backend
-   = help: did you mean: `rdrand`
-
-warning: 4 warnings emitted
+warning: 1 warning emitted