summaryrefslogtreecommitdiffstats
path: root/tests/ui/tuple/wrong_argument_ice.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/tuple/wrong_argument_ice.stderr (renamed from src/test/ui/tuple/wrong_argument_ice.stderr)5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/test/ui/tuple/wrong_argument_ice.stderr b/tests/ui/tuple/wrong_argument_ice.stderr
index ec07f1e70..f1b00ae0b 100644
--- a/src/test/ui/tuple/wrong_argument_ice.stderr
+++ b/tests/ui/tuple/wrong_argument_ice.stderr
@@ -1,4 +1,4 @@
-error[E0061]: this function takes 1 argument but 2 arguments were supplied
+error[E0061]: method takes 1 argument but 2 arguments were supplied
--> $DIR/wrong_argument_ice.rs:11:18
|
LL | self.acc.push_back(self.current_provides, self.current_requires);
@@ -6,9 +6,6 @@ LL | self.acc.push_back(self.current_provides, self.current_requires);
|
note: associated function defined here
--> $SRC_DIR/alloc/src/collections/vec_deque/mod.rs:LL:COL
- |
-LL | pub fn push_back(&mut self, value: T) {
- | ^^^^^^^^^
help: wrap these arguments in parentheses to construct a tuple
|
LL | self.acc.push_back((self.current_provides, self.current_requires));