about summary refs log tree commit diff
path: root/src/librustc_interface
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-07-15 10:55:41 +0200
committerBastian Kauschke <bastian_kauschke@hotmail.de>2020-07-15 13:06:47 +0200
commitaca66bd052cc078edfdaee8500b41d0303e99cf3 (patch)
treec00d2e31bbe84ccfdd515fd578c1afab3d98f268 /src/librustc_interface
parent8003ccfdcd5731fe00c48f477857bf5ad52c6146 (diff)
WithOptConstParam::dummy -> WithOptConstParam::unknown
Diffstat (limited to 'src/librustc_interface')
-rw-r--r--src/librustc_interface/passes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_interface/passes.rs b/src/librustc_interface/passes.rs
index 4357f11776c..533d0a6d383 100644
--- a/src/librustc_interface/passes.rs
+++ b/src/librustc_interface/passes.rs
@@ -892,7 +892,7 @@ fn analysis(tcx: TyCtxt<'_>, cnum: CrateNum) -> Result<()> {
 
             if tcx.hir().body_const_context(def_id).is_some() {
                 tcx.ensure()
-                    .mir_drops_elaborated_and_const_checked(ty::WithOptConstParam::dummy(def_id));
+                    .mir_drops_elaborated_and_const_checked(ty::WithOptConstParam::unknown(def_id));
             }
         }
     });