From 9b1893f310d185478a0980a7367d5fbc9affcbcc Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Tue, 24 Mar 2020 00:16:05 +0100 Subject: [PATCH] Run rustfmt --- src/librustc/ty/sty.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/librustc/ty/sty.rs b/src/librustc/ty/sty.rs index 73fe15d9a173..cfd99cbbb9fe 100644 --- a/src/librustc/ty/sty.rs +++ b/src/librustc/ty/sty.rs @@ -2411,7 +2411,10 @@ impl<'tcx> Const<'tcx> { let body_id = match tcx.hir().get(hir_id) { hir::Node::AnonConst(ac) => ac.body, - _ => span_bug!(tcx.def_span(def_id.to_def_id()), "from_anon_const can only process anonymous constants"), + _ => span_bug!( + tcx.def_span(def_id.to_def_id()), + "from_anon_const can only process anonymous constants" + ), }; let expr = &tcx.hir().body(body_id).value;