rust/tests/ui/argument-suggestions/issue-112507.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
217 B
Rust
Raw Normal View History

pub enum Value {
Float(Option<f64>),
}
fn main() {
let _a = Value::Float( //~ ERROR this enum variant takes 1 argument but 4 arguments were supplied
0,
None,
None,
0,
);
}