2023-06-18 05:44:14 -05:00
|
|
|
error[E0061]: this enum variant takes 1 argument but 4 arguments were supplied
|
|
|
|
--> $DIR/issue-112507.rs:6:14
|
|
|
|
|
|
|
|
|
LL | let _a = Value::Float(
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
LL | 0,
|
2024-05-12 02:40:59 -05:00
|
|
|
| - unexpected argument #1 of type `{integer}`
|
2023-06-18 05:44:14 -05:00
|
|
|
LL | None,
|
|
|
|
LL | None,
|
2024-05-12 02:40:59 -05:00
|
|
|
| ---- unexpected argument #3 of type `Option<_>`
|
2023-06-18 05:44:14 -05:00
|
|
|
LL | 0,
|
2024-05-12 02:40:59 -05:00
|
|
|
| - unexpected argument #4 of type `{integer}`
|
2023-06-18 05:44:14 -05:00
|
|
|
|
|
|
|
|
note: tuple variant defined here
|
|
|
|
--> $DIR/issue-112507.rs:2:5
|
|
|
|
|
|
|
|
|
LL | Float(Option<f64>),
|
|
|
|
| ^^^^^
|
|
|
|
help: remove the extra arguments
|
|
|
|
|
|
|
|
|
LL ~ ,
|
|
|
|
LL ~ None);
|
|
|
|
|
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-18 05:44:14 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0061`.
|