diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2020-03-24 00:16:05 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2020-03-24 00:16:05 +0100 |
| commit | 9b1893f310d185478a0980a7367d5fbc9affcbcc (patch) | |
| tree | d107fc6db2612a343f81974ea675da1ab2ec1f2d | |
| parent | 4f513b5fd7945937cba8bbfab84ae33e14642b85 (diff) | |
| download | rust-9b1893f310d185478a0980a7367d5fbc9affcbcc.tar.gz rust-9b1893f310d185478a0980a7367d5fbc9affcbcc.zip | |
Run rustfmt
| -rw-r--r-- | src/librustc/ty/sty.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librustc/ty/sty.rs b/src/librustc/ty/sty.rs index 73fe15d9a17..cfd99cbbb9f 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; |
