We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f513b5 commit 9b1893fCopy full SHA for 9b1893f
src/librustc/ty/sty.rs
@@ -2411,7 +2411,10 @@ impl<'tcx> Const<'tcx> {
2411
2412
let body_id = match tcx.hir().get(hir_id) {
2413
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"),
+ _ => span_bug!(
2415
+ tcx.def_span(def_id.to_def_id()),
2416
+ "from_anon_const can only process anonymous constants"
2417
+ ),
2418
};
2419
2420
let expr = &tcx.hir().body(body_id).value;
0 commit comments