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 --- .../ui/suggestions/method-missing-parentheses.stderr | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/test/ui/suggestions/method-missing-parentheses.stderr (limited to 'src/test/ui/suggestions/method-missing-parentheses.stderr') diff --git a/src/test/ui/suggestions/method-missing-parentheses.stderr b/src/test/ui/suggestions/method-missing-parentheses.stderr deleted file mode 100644 index 1bfff56a6..000000000 --- a/src/test/ui/suggestions/method-missing-parentheses.stderr +++ /dev/null @@ -1,20 +0,0 @@ -error: field expressions cannot have generic arguments - --> $DIR/method-missing-parentheses.rs:2:41 - | -LL | let _ = vec![].into_iter().collect::; - | ^^^^^^^ - -error[E0615]: attempted to take value of method `collect` on type `std::vec::IntoIter<_>` - --> $DIR/method-missing-parentheses.rs:2:32 - | -LL | let _ = vec![].into_iter().collect::; - | ^^^^^^^ method, not a field - | -help: use parentheses to call the method - | -LL | let _ = vec![].into_iter().collect::(); - | ++ - -error: aborting due to 2 previous errors - -For more information about this error, try `rustc --explain E0615`. -- cgit v1.2.3