Skip to content

Commit c60e36f

Browse files
canndrewalexcrichton
authored andcommitted
Fix make tidy
1 parent 9a7834b commit c60e36f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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 => {

src/librustc_const_eval/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#![feature(box_patterns)]
3030
#![feature(box_syntax)]
3131
#![feature(const_fn)]
32-
#![feature(ptr_eq)]
3332

3433
extern crate arena;
3534
#[macro_use] extern crate syntax;

0 commit comments

Comments
 (0)