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