From beb06aed9af27fbf192d772e39ffe0421c50e02e Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Tue, 29 Oct 2019 13:04:29 +0200 Subject: [PATCH] Don't use eval_always for miri queries used from codegen. --- src/librustc/query/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/librustc/query/mod.rs b/src/librustc/query/mod.rs index f628e19474876..d13b21bb7722b 100644 --- a/src/librustc/query/mod.rs +++ b/src/librustc/query/mod.rs @@ -462,13 +462,11 @@ rustc_queries! { query const_field( key: ty::ParamEnvAnd<'tcx, (&'tcx ty::Const<'tcx>, mir::Field)> ) -> &'tcx ty::Const<'tcx> { - eval_always no_force desc { "extract field of const" } } query const_caller_location(key: (syntax_pos::Symbol, u32, u32)) -> &'tcx ty::Const<'tcx> { - eval_always no_force desc { "get a &core::panic::Location referring to a span" } }