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