From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../suggest-on-bare-closure-call.stderr | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 src/test/ui/suggestions/suggest-on-bare-closure-call.stderr (limited to 'src/test/ui/suggestions/suggest-on-bare-closure-call.stderr') diff --git a/src/test/ui/suggestions/suggest-on-bare-closure-call.stderr b/src/test/ui/suggestions/suggest-on-bare-closure-call.stderr deleted file mode 100644 index e65a6eb49..000000000 --- a/src/test/ui/suggestions/suggest-on-bare-closure-call.stderr +++ /dev/null @@ -1,29 +0,0 @@ -error[E0618]: expected function, found `()` - --> $DIR/suggest-on-bare-closure-call.rs:6:15 - | -LL | let _ = ||{}(); - | ^^-- - | | - | call expression requires function - | -help: if you meant to create this closure and immediately call it, surround the closure with parentheses - | -LL | let _ = (||{})(); - | + + - -error[E0618]: expected function, found `()` - --> $DIR/suggest-on-bare-closure-call.rs:9:21 - | -LL | let _ = async ||{}(); - | ^^-- - | | - | call expression requires function - | -help: if you meant to create this closure and immediately call it, surround the closure with parentheses - | -LL | let _ = (async ||{})(); - | + + - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0618`. -- cgit v1.2.3