summary refs log tree commit diff
path: root/src/tools/rustfmt
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-06 00:14:41 +0000
committerbors <bors@rust-lang.org>2021-09-06 00:14:41 +0000
commit8f3aa5e8b9e176e8a5fff81a681eba1805366e3d (patch)
tree9aff1d58e6d28e96d4d10d8f9dbebf569f66faf9 /src/tools/rustfmt
parent7849e3e9dda60e8ec826ee245c6b180e73911b37 (diff)
parentca27f03ca8862344567dcc1e6ec01f29442835fa (diff)
downloadrust-8f3aa5e8b9e176e8a5fff81a681eba1805366e3d.tar.gz
rust-8f3aa5e8b9e176e8a5fff81a681eba1805366e3d.zip
Auto merge of #88493 - chenyukang:fix-duplicated-diagnostic, r=estebank
Fix #88256 remove duplicated diagnostics

Fix #88256
Diffstat (limited to 'src/tools/rustfmt')
-rw-r--r--src/tools/rustfmt/src/syntux/session.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/rustfmt/src/syntux/session.rs b/src/tools/rustfmt/src/syntux/session.rs
index 870f0acfe39..2965b0928aa 100644
--- a/src/tools/rustfmt/src/syntux/session.rs
+++ b/src/tools/rustfmt/src/syntux/session.rs
@@ -311,6 +311,7 @@ mod tests {
                 suggestions: vec![],
                 span: span.unwrap_or_else(MultiSpan::new),
                 sort_span: DUMMY_SP,
+                is_lint: false,
             }
         }