diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2023-02-01 17:44:48 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2023-02-14 20:22:10 +0000 |
| commit | bd176ee591cd391835bfbcb3409a743bac2128ca (patch) | |
| tree | 43ff75755e5c815c5085ed330a14c1e18b6fc297 /tests/ui/alloc-error | |
| parent | 5d63e10318ea76efc4d4d6a33cf1f74c9839adfb (diff) | |
| download | rust-bd176ee591cd391835bfbcb3409a743bac2128ca.tar.gz rust-bd176ee591cd391835bfbcb3409a743bac2128ca.zip | |
Make removal suggestion not verbose
Diffstat (limited to 'tests/ui/alloc-error')
| -rw-r--r-- | tests/ui/alloc-error/alloc-error-handler-bad-signature-3.stderr | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.stderr b/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.stderr index 9f568f86970..d1b9d7a40b4 100644 --- a/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.stderr +++ b/tests/ui/alloc-error/alloc-error-handler-bad-signature-3.stderr @@ -7,7 +7,10 @@ LL | fn oom() -> ! { | _-^^^^^^^^^^^^ LL | | loop {} LL | | } - | |_- unexpected argument of type `core::alloc::Layout` + | | - + | | | + | |_unexpected argument of type `core::alloc::Layout` + | help: remove the extra argument | note: function defined here --> $DIR/alloc-error-handler-bad-signature-3.rs:10:4 @@ -15,12 +18,6 @@ note: function defined here LL | fn oom() -> ! { | ^^^ = note: this error originates in the attribute macro `alloc_error_handler` (in Nightly builds, run with -Z macro-backtrace for more info) -help: remove the extra argument - | -LL - fn oom() -> ! { -LL - loop {} -LL - } - | error: aborting due to previous error |
