blob: 7762231714bd0cb8a970139b9867dc28c543b3f5 [file] [log] [blame]
//@ 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 function takes 1 argument but 2 arguments were supplied
//~| HELP remove the extra argument
}