Skip to content

Commit 7135d0a

Browse files
committed
Fix make tidy
1 parent 0dbb1e4 commit 7135d0a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustc_const_eval/check_match.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,9 @@ fn check_arms<'a, 'tcx>(cx: &mut MatchCheckCtxt<'a, 'tcx>,
310310
let mut diagnostic = Diagnostic::new(Level::Warning,
311311
"unreachable pattern");
312312
diagnostic.set_span(pat.span);
313-
cx.tcx.sess.add_lint_diagnostic(lint::builtin::UNREACHABLE_PATTERNS,
314-
hir_pat.id, diagnostic);
313+
cx.tcx.sess.add_lint_diagnostic(
314+
lint::builtin::UNREACHABLE_PATTERNS,
315+
hir_pat.id, diagnostic);
315316
},
316317
// The arm with the wildcard pattern.
317318
1 => {

0 commit comments

Comments
 (0)