Skip to content

Commit 9b1893f

Browse files
committed
Run rustfmt
1 parent 4f513b5 commit 9b1893f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/librustc/ty/sty.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -2411,7 +2411,10 @@ impl<'tcx> Const<'tcx> {
24112411

24122412
let body_id = match tcx.hir().get(hir_id) {
24132413
hir::Node::AnonConst(ac) => ac.body,
2414-
_ => span_bug!(tcx.def_span(def_id.to_def_id()), "from_anon_const can only process anonymous constants"),
2414+
_ => span_bug!(
2415+
tcx.def_span(def_id.to_def_id()),
2416+
"from_anon_const can only process anonymous constants"
2417+
),
24152418
};
24162419

24172420
let expr = &tcx.hir().body(body_id).value;

0 commit comments

Comments
 (0)