Commit Graph

10 Commits

Author SHA1 Message Date
Lukas Markeffsky
985036b5a1 add more tests for argument removal with wacky spans 2023-08-01 16:51:21 +00:00
Lukas Markeffsky
37d62fbf9e don't remove args for function calls coming from macro expansions 2023-08-01 16:51:20 +00:00
Lukas Markeffsky
3694fd08e6 introduce Span::find_ancestor_inside_same_ctxt
and use it for function argument diagnostics
2023-08-01 16:51:20 +00:00
Lukas Markeffsky
10ef96f6a5 add macro test cases to extra arguments test 2023-07-30 19:22:26 +02:00
clubby789
0b9a3e29d4 Fix overlapping spans in removing extra arguments 2023-02-21 13:13:09 +00:00
Esteban Küber
bd176ee591 Make removal suggestion not verbose 2023-02-14 20:22:10 +00:00
Esteban Küber
5d63e10318 rebase and review comments 2023-02-14 20:22:10 +00:00
Esteban Küber
287cd5974c Avoid trailing commas 2023-02-14 20:22:10 +00:00
Esteban Küber
f02d8ec15e More accurate spans for arg removal suggestion 2023-02-14 20:22:09 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests 2023-01-11 09:32:08 +00:00