]> git.proxmox.com Git - rustc.git/blob - tests/ui/argument-suggestions/issue-112507.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / argument-suggestions / issue-112507.stderr
1 error[E0061]: this enum variant takes 1 argument but 4 arguments were supplied
2 --> $DIR/issue-112507.rs:6:14
3 |
4 LL | let _a = Value::Float(
5 | ^^^^^^^^^^^^
6 LL | 0,
7 | - unexpected argument of type `{integer}`
8 LL | None,
9 LL | None,
10 | ---- unexpected argument of type `Option<_>`
11 LL | 0,
12 | - unexpected argument of type `{integer}`
13 |
14 note: tuple variant defined here
15 --> $DIR/issue-112507.rs:2:5
16 |
17 LL | Float(Option<f64>),
18 | ^^^^^
19 help: remove the extra arguments
20 |
21 LL ~ ,
22 LL ~ None);
23 |
24
25 error: aborting due to 1 previous error
26
27 For more information about this error, try `rustc --explain E0061`.