diff options
| author | Emil Gardström <emil.gardstrom@gmail.com> | 2022-04-24 14:42:30 +0200 |
|---|---|---|
| committer | Emil Gardström <emil.gardstrom@gmail.com> | 2022-04-24 18:33:07 +0200 |
| commit | 2e47271cb8db0d19c5930ca724ecdbb3be3463aa (patch) | |
| tree | ad46812ee4e20ab172d3c125a8f8f1d49bc1692c /src/test/ui/rfcs | |
| parent | 8b8f6653cfd54525714f02efe7af0a0f830e185c (diff) | |
| download | rust-2e47271cb8db0d19c5930ca724ecdbb3be3463aa.tar.gz rust-2e47271cb8db0d19c5930ca724ecdbb3be3463aa.zip | |
only show a simple description in E0133 span label
Diffstat (limited to 'src/test/ui/rfcs')
| -rw-r--r-- | src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.mir.stderr | 20 | ||||
| -rw-r--r-- | src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.thir.stderr | 20 |
2 files changed, 20 insertions, 20 deletions
diff --git a/src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.mir.stderr b/src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.mir.stderr index 38d45105679..6743f0802a0 100644 --- a/src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.mir.stderr +++ b/src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.mir.stderr @@ -2,7 +2,7 @@ error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and req --> $DIR/safe-calls.rs:23:5 | LL | sse2(); - | ^^^^^^ call to function `sse2` with `#[target_feature]` + | ^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -10,7 +10,7 @@ error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and --> $DIR/safe-calls.rs:24:5 | LL | avx_bmi2(); - | ^^^^^^^^^^ call to function `avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -18,7 +18,7 @@ error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsa --> $DIR/safe-calls.rs:25:5 | LL | Quux.avx_bmi2(); - | ^^^^^^^^^^^^^^^ call to function `Quux::avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -26,7 +26,7 @@ error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and --> $DIR/safe-calls.rs:30:5 | LL | avx_bmi2(); - | ^^^^^^^^^^ call to function `avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -34,7 +34,7 @@ error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsa --> $DIR/safe-calls.rs:31:5 | LL | Quux.avx_bmi2(); - | ^^^^^^^^^^^^^^^ call to function `Quux::avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -42,7 +42,7 @@ error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and req --> $DIR/safe-calls.rs:36:5 | LL | sse2(); - | ^^^^^^ call to function `sse2` with `#[target_feature]` + | ^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -50,7 +50,7 @@ error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and --> $DIR/safe-calls.rs:37:5 | LL | avx_bmi2(); - | ^^^^^^^^^^ call to function `avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -58,7 +58,7 @@ error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsa --> $DIR/safe-calls.rs:38:5 | LL | Quux.avx_bmi2(); - | ^^^^^^^^^^^^^^^ call to function `Quux::avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -66,7 +66,7 @@ error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and req --> $DIR/safe-calls.rs:44:5 | LL | sse2(); - | ^^^^^^ call to function `sse2` with `#[target_feature]` + | ^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -74,7 +74,7 @@ error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and req --> $DIR/safe-calls.rs:47:18 | LL | const name: () = sse2(); - | ^^^^^^ call to function `sse2` with `#[target_feature]` + | ^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available diff --git a/src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.thir.stderr b/src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.thir.stderr index 38d45105679..6743f0802a0 100644 --- a/src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.thir.stderr +++ b/src/test/ui/rfcs/rfc-2396-target_feature-11/safe-calls.thir.stderr @@ -2,7 +2,7 @@ error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and req --> $DIR/safe-calls.rs:23:5 | LL | sse2(); - | ^^^^^^ call to function `sse2` with `#[target_feature]` + | ^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -10,7 +10,7 @@ error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and --> $DIR/safe-calls.rs:24:5 | LL | avx_bmi2(); - | ^^^^^^^^^^ call to function `avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -18,7 +18,7 @@ error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsa --> $DIR/safe-calls.rs:25:5 | LL | Quux.avx_bmi2(); - | ^^^^^^^^^^^^^^^ call to function `Quux::avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -26,7 +26,7 @@ error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and --> $DIR/safe-calls.rs:30:5 | LL | avx_bmi2(); - | ^^^^^^^^^^ call to function `avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -34,7 +34,7 @@ error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsa --> $DIR/safe-calls.rs:31:5 | LL | Quux.avx_bmi2(); - | ^^^^^^^^^^^^^^^ call to function `Quux::avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -42,7 +42,7 @@ error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and req --> $DIR/safe-calls.rs:36:5 | LL | sse2(); - | ^^^^^^ call to function `sse2` with `#[target_feature]` + | ^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -50,7 +50,7 @@ error[E0133]: call to function `avx_bmi2` with `#[target_feature]` is unsafe and --> $DIR/safe-calls.rs:37:5 | LL | avx_bmi2(); - | ^^^^^^^^^^ call to function `avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -58,7 +58,7 @@ error[E0133]: call to function `Quux::avx_bmi2` with `#[target_feature]` is unsa --> $DIR/safe-calls.rs:38:5 | LL | Quux.avx_bmi2(); - | ^^^^^^^^^^^^^^^ call to function `Quux::avx_bmi2` with `#[target_feature]` + | ^^^^^^^^^^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -66,7 +66,7 @@ error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and req --> $DIR/safe-calls.rs:44:5 | LL | sse2(); - | ^^^^^^ call to function `sse2` with `#[target_feature]` + | ^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available @@ -74,7 +74,7 @@ error[E0133]: call to function `sse2` with `#[target_feature]` is unsafe and req --> $DIR/safe-calls.rs:47:18 | LL | const name: () = sse2(); - | ^^^^^^ call to function `sse2` with `#[target_feature]` + | ^^^^^^ call to function with `#[target_feature]` | = note: can only be called if the required target features are available |
