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/error-codes | |
| 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/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0133.mir.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0133.thir.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0133.mir.stderr b/src/test/ui/error-codes/E0133.mir.stderr index 7d6dc0c7f09..f1d7aba2aa3 100644 --- a/src/test/ui/error-codes/E0133.mir.stderr +++ b/src/test/ui/error-codes/E0133.mir.stderr @@ -2,7 +2,7 @@ error[E0133]: call to unsafe function `f` is unsafe and requires unsafe function --> $DIR/E0133.rs:7:5 | LL | f(); - | ^^^ call to unsafe function `f` + | ^^^ call to unsafe function | = note: consult the function's documentation for information on how to avoid undefined behavior diff --git a/src/test/ui/error-codes/E0133.thir.stderr b/src/test/ui/error-codes/E0133.thir.stderr index 7d6dc0c7f09..f1d7aba2aa3 100644 --- a/src/test/ui/error-codes/E0133.thir.stderr +++ b/src/test/ui/error-codes/E0133.thir.stderr @@ -2,7 +2,7 @@ error[E0133]: call to unsafe function `f` is unsafe and requires unsafe function --> $DIR/E0133.rs:7:5 | LL | f(); - | ^^^ call to unsafe function `f` + | ^^^ call to unsafe function | = note: consult the function's documentation for information on how to avoid undefined behavior |
