]> git.lizzy.rs Git - rust.git/blob - src/test/ui/tuple/wrong_argument_ice.stderr
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / ui / tuple / wrong_argument_ice.stderr
1 error[E0061]: this function takes 1 argument but 2 arguments were supplied
2   --> $DIR/wrong_argument_ice.rs:11:18
3    |
4 LL |         self.acc.push_back(self.current_provides, self.current_requires);
5    |                  ^^^^^^^^^
6    |
7 note: associated function defined here
8   --> $SRC_DIR/alloc/src/collections/vec_deque/mod.rs:LL:COL
9    |
10 LL |     pub fn push_back(&mut self, value: T) {
11    |            ^^^^^^^^^
12 help: wrap these arguments in parentheses to construct a tuple
13    |
14 LL |         self.acc.push_back((self.current_provides, self.current_requires));
15    |                            +                                            +
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0061`.