Open
Description
fn f() {}
fn main() {
f(0, 1,); // f()
//~^ error: this function takes 0 arguments but 2 arguments were supplied
}
with version = "Two"
it looks like rustfmt does no longer know that the comment on line 5 exists, it thus flags "
" as
error[internal]: left behind trailing whitespace
--> /tmp/im/a.rs:5:5:1
|
5 |
| ^^^^
|
which it isnt because there is a comment after the indentation (unless it tries to remove the entire comment which is spooky as well)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment