You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fail when formatting recoverable parser errors occurs in ignored files with rustfmt-recursive.
I found it working #4113 with issue-3779/ice.rs
To Reproduce
Add // rustfmt-recursive: true to the head of tests/source/issue-3779/lib.rs
run cargo make test
Fail with following error
error: invalid suffix `x` for integer literal
--> tests/source/issue-3779/ice.rs:2:5
|
2 | 1x;
| ^^ invalid suffix `x`
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)
sasurau4
changed the title
Fail when formatting multiple files that occurs recoverable parser errors with rustfmt-recursive
Fail recoverable parser errors occurs in ignored files with rustfmt-recursive
Dec 15, 2020
sasurau4
changed the title
Fail recoverable parser errors occurs in ignored files with rustfmt-recursive
Fail when recoverable parser errors occurs in ignored files with rustfmt-recursive
Dec 15, 2020
Haven't had time to look at this closely but based on a quick glance my sense is that this is actually failing because the config/ignore settings aren't actually getting picked up, so rustfmt is attempting to parse the ice mod?
Describe the bug
Fail when formatting recoverable parser errors occurs in ignored files with rustfmt-recursive.
I found it working #4113 with
issue-3779/ice.rs
To Reproduce
// rustfmt-recursive: true
to the head oftests/source/issue-3779/lib.rs
cargo make test
Expected behavior
cargo make test
passesMeta
The text was updated successfully, but these errors were encountered: