]>
git.proxmox.com Git - rustc.git/blob - tests/ui/argument-suggestions/permuted_arguments.rs
1 // More complicated permutations
5 fn three_args(_a
: i32, _b
: f32, _c
: &str) {}
6 fn many_args(_a
: i32, _b
: f32, _c
: &str, _d
: X
, _e
: Y
) {}
10 three_args(1.0, "", 1); //~ ERROR arguments to this function are incorrect
12 many_args(X {}
, Y {}
, 1, 1.0, ""); //~ ERROR arguments to this function are incorrect