mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
cdd08da27b
- a leading/trailing newline character in missed spans was throwing off the start/end of ranges used to compare against file_lines - fix handling of file_lines when closing a block Close #3442
11 lines
321 B
Rust
11 lines
321 B
Rust
// rustfmt-file_lines: [{"file":"tests/target/issue-3442.rs","range":[5,5]},{"file":"tests/target/issue-3442.rs","range":[8,8]}]
|
|
|
|
extern crate alpha; // comment 1
|
|
extern crate beta; // comment 2
|
|
#[allow(aaa)] // comment 3
|
|
#[macro_use]
|
|
extern crate gamma;
|
|
#[allow(bbb)] // comment 4
|
|
#[macro_use]
|
|
extern crate lazy_static;
|