blob: 659cb8b267fd5b8fb80d8dad101788241120a04d (
plain)
1
2
3
4
5
6
7
8
9
|
// run-rustfix
// Check that the HELP suggestion is `l(vec![])` instead of `l($crate::vec::Vec::new())`
fn l(_a: Vec<u8>) {}
fn main() {
l(vec![], vec![])
//~^ ERROR this function takes 1 argument but 2 arguments were supplied
//~| HELP remove the extra argument
}
|