From 62ba3e70a1f01d801d068b84a097e38bd82a8c6e Mon Sep 17 00:00:00 2001 From: Esteban Küber Date: Mon, 2 Jan 2023 18:00:33 -0800 Subject: Modify primary span label for E0308 The previous output was unintuitive to users. --- tests/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr') diff --git a/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr b/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr index 59192a1ecc3..de92841d7f1 100644 --- a/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr +++ b/tests/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr @@ -10,7 +10,7 @@ LL | || ) -> () LL | | { LL | | loop {} LL | | } - | |__^ expected `&Layout`, found struct `Layout` + | |__^ expected `&Layout`, found `Layout` | note: function defined here --> $DIR/alloc-error-handler-bad-signature-1.rs:10:4 -- cgit 1.4.1-3-g733a5