diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2021-09-24 18:02:02 +0300 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2022-03-01 01:57:25 +0200 |
| commit | df701a292ce552fddad2048cfcb6edaf90222d85 (patch) | |
| tree | 7e299460e96c3f5eb09851ef56e729332caedff3 /src/test | |
| parent | c97c216efd542fbec5a7ccf9555f3cebb3198cec (diff) | |
| download | rust-df701a292ce552fddad2048cfcb6edaf90222d85.tar.gz rust-df701a292ce552fddad2048cfcb6edaf90222d85.zip | |
Querify `global_backend_features`
At the very least this serves to deduplicate the diagnostics that are output about unknown target features provided via CLI.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/target-feature/missing-plusminus.stderr | 14 | ||||
| -rw-r--r-- | src/test/ui/target-feature/similar-feature-suggestion.stderr | 17 |
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 |
