diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools/rustfmt/tests/target/issue-3442.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-3442.rs b/src/tools/rustfmt/tests/target/issue-3442.rs new file mode 100644 index 000000000..3664c50ee --- /dev/null +++ b/src/tools/rustfmt/tests/target/issue-3442.rs @@ -0,0 +1,10 @@ +// 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; |