@@ -1094,7 +1094,6 @@ rustc_queries! {
10941094 key: ty:: ParamEnvAnd <' tcx, mir:: ConstantKind <' tcx>>
10951095 ) -> Option <mir:: DestructuredConstant <' tcx>> {
10961096 desc { "destructuring MIR constant" }
1097- remap_env_constness
10981097 }
10991098
11001099 /// Dereference a constant reference or raw pointer and turn the result into a constant
@@ -1103,7 +1102,6 @@ rustc_queries! {
11031102 key: ty:: ParamEnvAnd <' tcx, mir:: ConstantKind <' tcx>>
11041103 ) -> mir:: ConstantKind <' tcx> {
11051104 desc { "dereferencing MIR constant" }
1106- remap_env_constness
11071105 }
11081106
11091107 query const_caller_location( key: ( rustc_span:: Symbol , u32 , u32 ) ) -> ConstValue <' tcx> {
@@ -1346,32 +1344,26 @@ rustc_queries! {
13461344 /// `ty.is_copy()`, etc, since that will prune the environment where possible.
13471345 query is_copy_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
13481346 desc { "computing whether `{}` is `Copy`" , env. value }
1349- remap_env_constness
13501347 }
13511348 /// Query backing `Ty::is_sized`.
13521349 query is_sized_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
13531350 desc { "computing whether `{}` is `Sized`" , env. value }
1354- remap_env_constness
13551351 }
13561352 /// Query backing `Ty::is_freeze`.
13571353 query is_freeze_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
13581354 desc { "computing whether `{}` is freeze" , env. value }
1359- remap_env_constness
13601355 }
13611356 /// Query backing `Ty::is_unpin`.
13621357 query is_unpin_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
13631358 desc { "computing whether `{}` is `Unpin`" , env. value }
1364- remap_env_constness
13651359 }
13661360 /// Query backing `Ty::needs_drop`.
13671361 query needs_drop_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
13681362 desc { "computing whether `{}` needs drop" , env. value }
1369- remap_env_constness
13701363 }
13711364 /// Query backing `Ty::has_significant_drop_raw`.
13721365 query has_significant_drop_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
13731366 desc { "computing whether `{}` has a significant drop" , env. value }
1374- remap_env_constness
13751367 }
13761368
13771369 /// Query backing `Ty::is_structural_eq_shallow`.
@@ -1411,7 +1403,6 @@ rustc_queries! {
14111403 ) -> Result <ty:: layout:: TyAndLayout <' tcx>, ty:: layout:: LayoutError <' tcx>> {
14121404 depth_limit
14131405 desc { "computing layout of `{}`" , key. value }
1414- remap_env_constness
14151406 }
14161407
14171408 /// Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers.
@@ -1422,7 +1413,6 @@ rustc_queries! {
14221413 key: ty:: ParamEnvAnd <' tcx, ( ty:: PolyFnSig <' tcx>, & ' tcx ty:: List <Ty <' tcx>>) >
14231414 ) -> Result <& ' tcx abi:: call:: FnAbi <' tcx, Ty <' tcx>>, ty:: layout:: FnAbiError <' tcx>> {
14241415 desc { "computing call ABI of `{}` function pointers" , key. value. 0 }
1425- remap_env_constness
14261416 }
14271417
14281418 /// Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for
@@ -1434,7 +1424,6 @@ rustc_queries! {
14341424 key: ty:: ParamEnvAnd <' tcx, ( ty:: Instance <' tcx>, & ' tcx ty:: List <Ty <' tcx>>) >
14351425 ) -> Result <& ' tcx abi:: call:: FnAbi <' tcx, Ty <' tcx>>, ty:: layout:: FnAbiError <' tcx>> {
14361426 desc { "computing call ABI of `{}`" , key. value. 0 }
1437- remap_env_constness
14381427 }
14391428
14401429 query dylib_dependency_formats( _: CrateNum )
@@ -1937,15 +1926,13 @@ rustc_queries! {
19371926 NoSolution ,
19381927 > {
19391928 desc { "normalizing `{}`" , goal. value. value }
1940- remap_env_constness
19411929 }
19421930
19431931 /// Do not call this query directly: invoke `try_normalize_erasing_regions` instead.
19441932 query try_normalize_generic_arg_after_erasing_regions(
19451933 goal: ParamEnvAnd <' tcx, GenericArg <' tcx>>
19461934 ) -> Result <GenericArg <' tcx>, NoSolution > {
19471935 desc { "normalizing `{}`" , goal. value }
1948- remap_env_constness
19491936 }
19501937
19511938 query implied_outlives_bounds(
@@ -1955,7 +1942,6 @@ rustc_queries! {
19551942 NoSolution ,
19561943 > {
19571944 desc { "computing implied outlives bounds for `{}`" , goal. value. value }
1958- remap_env_constness
19591945 }
19601946
19611947 /// Do not call this query directly:
@@ -1967,7 +1953,6 @@ rustc_queries! {
19671953 NoSolution ,
19681954 > {
19691955 desc { "computing dropck types for `{}`" , goal. value. value }
1970- remap_env_constness
19711956 }
19721957
19731958 /// Do not call this query directly: invoke `infcx.predicate_may_hold()` or
@@ -1995,7 +1980,6 @@ rustc_queries! {
19951980 NoSolution ,
19961981 > {
19971982 desc { "evaluating `type_op_ascribe_user_type` `{:?}`" , goal. value. value }
1998- remap_env_constness
19991983 }
20001984
20011985 /// Do not call this query directly: part of the `Eq` type-op
@@ -2006,7 +1990,6 @@ rustc_queries! {
20061990 NoSolution ,
20071991 > {
20081992 desc { "evaluating `type_op_eq` `{:?}`" , goal. value. value }
2009- remap_env_constness
20101993 }
20111994
20121995 /// Do not call this query directly: part of the `Subtype` type-op
@@ -2017,7 +2000,6 @@ rustc_queries! {
20172000 NoSolution ,
20182001 > {
20192002 desc { "evaluating `type_op_subtype` `{:?}`" , goal. value. value }
2020- remap_env_constness
20212003 }
20222004
20232005 /// Do not call this query directly: part of the `ProvePredicate` type-op
@@ -2038,7 +2020,6 @@ rustc_queries! {
20382020 NoSolution ,
20392021 > {
20402022 desc { "normalizing `{}`" , goal. value. value. value }
2041- remap_env_constness
20422023 }
20432024
20442025 /// Do not call this query directly: part of the `Normalize` type-op
@@ -2049,7 +2030,6 @@ rustc_queries! {
20492030 NoSolution ,
20502031 > {
20512032 desc { "normalizing `{:?}`" , goal. value. value. value }
2052- remap_env_constness
20532033 }
20542034
20552035 /// Do not call this query directly: part of the `Normalize` type-op
@@ -2060,7 +2040,6 @@ rustc_queries! {
20602040 NoSolution ,
20612041 > {
20622042 desc { "normalizing `{:?}`" , goal. value. value. value }
2063- remap_env_constness
20642043 }
20652044
20662045 /// Do not call this query directly: part of the `Normalize` type-op
@@ -2071,7 +2050,6 @@ rustc_queries! {
20712050 NoSolution ,
20722051 > {
20732052 desc { "normalizing `{:?}`" , goal. value. value. value }
2074- remap_env_constness
20752053 }
20762054
20772055 query subst_and_check_impossible_predicates( key: ( DefId , SubstsRef <' tcx>) ) -> bool {
@@ -2093,7 +2071,6 @@ rustc_queries! {
20932071 goal: CanonicalTyGoal <' tcx>
20942072 ) -> MethodAutoderefStepsResult <' tcx> {
20952073 desc { "computing autoderef types for `{}`" , goal. value. value }
2096- remap_env_constness
20972074 }
20982075
20992076 query supported_target_features( _: CrateNum ) -> & ' tcx FxHashMap <String , Option <Symbol >> {
@@ -2138,7 +2115,6 @@ rustc_queries! {
21382115 key: ty:: ParamEnvAnd <' tcx, ( DefId , SubstsRef <' tcx>) >
21392116 ) -> Result <Option <ty:: Instance <' tcx>>, ErrorGuaranteed > {
21402117 desc { "resolving instance `{}`" , ty:: Instance :: new( key. value. 0 , key. value. 1 ) }
2141- remap_env_constness
21422118 }
21432119
21442120 query resolve_instance_of_const_arg(
@@ -2148,7 +2124,6 @@ rustc_queries! {
21482124 "resolving instance of the const argument `{}`" ,
21492125 ty:: Instance :: new( key. value. 0 . to_def_id( ) , key. value. 2 ) ,
21502126 }
2151- remap_env_constness
21522127 }
21532128
21542129 query reveal_opaque_types_in_bounds( key: & ' tcx ty:: List <ty:: Predicate <' tcx>>) -> & ' tcx ty:: List <ty:: Predicate <' tcx>> {
0 commit comments