Closed
Description
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
- Add
// rustfmt-recursive: true
to the head oftests/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)
Expected behavior
cargo make test
passes
Meta
- rustfmt version: current master 81ad114