@@ -1088,7 +1088,6 @@ rustc_queries! {
1088
1088
key: ty:: ParamEnvAnd <' tcx, mir:: ConstantKind <' tcx>>
1089
1089
) -> Option <mir:: DestructuredConstant <' tcx>> {
1090
1090
desc { "destructuring MIR constant" }
1091
- remap_env_constness
1092
1091
}
1093
1092
1094
1093
/// Dereference a constant reference or raw pointer and turn the result into a constant
@@ -1097,7 +1096,6 @@ rustc_queries! {
1097
1096
key: ty:: ParamEnvAnd <' tcx, mir:: ConstantKind <' tcx>>
1098
1097
) -> mir:: ConstantKind <' tcx> {
1099
1098
desc { "dereferencing MIR constant" }
1100
- remap_env_constness
1101
1099
}
1102
1100
1103
1101
query const_caller_location( key: ( rustc_span:: Symbol , u32 , u32 ) ) -> ConstValue <' tcx> {
@@ -1340,32 +1338,26 @@ rustc_queries! {
1340
1338
/// `ty.is_copy()`, etc, since that will prune the environment where possible.
1341
1339
query is_copy_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1342
1340
desc { "computing whether `{}` is `Copy`" , env. value }
1343
- remap_env_constness
1344
1341
}
1345
1342
/// Query backing `Ty::is_sized`.
1346
1343
query is_sized_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1347
1344
desc { "computing whether `{}` is `Sized`" , env. value }
1348
- remap_env_constness
1349
1345
}
1350
1346
/// Query backing `Ty::is_freeze`.
1351
1347
query is_freeze_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1352
1348
desc { "computing whether `{}` is freeze" , env. value }
1353
- remap_env_constness
1354
1349
}
1355
1350
/// Query backing `Ty::is_unpin`.
1356
1351
query is_unpin_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1357
1352
desc { "computing whether `{}` is `Unpin`" , env. value }
1358
- remap_env_constness
1359
1353
}
1360
1354
/// Query backing `Ty::needs_drop`.
1361
1355
query needs_drop_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1362
1356
desc { "computing whether `{}` needs drop" , env. value }
1363
- remap_env_constness
1364
1357
}
1365
1358
/// Query backing `Ty::has_significant_drop_raw`.
1366
1359
query has_significant_drop_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1367
1360
desc { "computing whether `{}` has a significant drop" , env. value }
1368
- remap_env_constness
1369
1361
}
1370
1362
1371
1363
/// Query backing `Ty::is_structural_eq_shallow`.
@@ -1405,7 +1397,6 @@ rustc_queries! {
1405
1397
) -> Result <ty:: layout:: TyAndLayout <' tcx>, ty:: layout:: LayoutError <' tcx>> {
1406
1398
depth_limit
1407
1399
desc { "computing layout of `{}`" , key. value }
1408
- remap_env_constness
1409
1400
}
1410
1401
1411
1402
/// Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers.
@@ -1416,7 +1407,6 @@ rustc_queries! {
1416
1407
key: ty:: ParamEnvAnd <' tcx, ( ty:: PolyFnSig <' tcx>, & ' tcx ty:: List <Ty <' tcx>>) >
1417
1408
) -> Result <& ' tcx abi:: call:: FnAbi <' tcx, Ty <' tcx>>, ty:: layout:: FnAbiError <' tcx>> {
1418
1409
desc { "computing call ABI of `{}` function pointers" , key. value. 0 }
1419
- remap_env_constness
1420
1410
}
1421
1411
1422
1412
/// Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for
@@ -1428,7 +1418,6 @@ rustc_queries! {
1428
1418
key: ty:: ParamEnvAnd <' tcx, ( ty:: Instance <' tcx>, & ' tcx ty:: List <Ty <' tcx>>) >
1429
1419
) -> Result <& ' tcx abi:: call:: FnAbi <' tcx, Ty <' tcx>>, ty:: layout:: FnAbiError <' tcx>> {
1430
1420
desc { "computing call ABI of `{}`" , key. value. 0 }
1431
- remap_env_constness
1432
1421
}
1433
1422
1434
1423
query dylib_dependency_formats( _: CrateNum )
@@ -1935,15 +1924,13 @@ rustc_queries! {
1935
1924
NoSolution ,
1936
1925
> {
1937
1926
desc { "normalizing `{}`" , goal. value. value }
1938
- remap_env_constness
1939
1927
}
1940
1928
1941
1929
/// Do not call this query directly: invoke `try_normalize_erasing_regions` instead.
1942
1930
query try_normalize_generic_arg_after_erasing_regions(
1943
1931
goal: ParamEnvAnd <' tcx, GenericArg <' tcx>>
1944
1932
) -> Result <GenericArg <' tcx>, NoSolution > {
1945
1933
desc { "normalizing `{}`" , goal. value }
1946
- remap_env_constness
1947
1934
}
1948
1935
1949
1936
query implied_outlives_bounds(
@@ -1953,7 +1940,6 @@ rustc_queries! {
1953
1940
NoSolution ,
1954
1941
> {
1955
1942
desc { "computing implied outlives bounds for `{}`" , goal. value. value }
1956
- remap_env_constness
1957
1943
}
1958
1944
1959
1945
/// Do not call this query directly:
@@ -1965,7 +1951,6 @@ rustc_queries! {
1965
1951
NoSolution ,
1966
1952
> {
1967
1953
desc { "computing dropck types for `{}`" , goal. value. value }
1968
- remap_env_constness
1969
1954
}
1970
1955
1971
1956
/// Do not call this query directly: invoke `infcx.predicate_may_hold()` or
@@ -1993,7 +1978,6 @@ rustc_queries! {
1993
1978
NoSolution ,
1994
1979
> {
1995
1980
desc { "evaluating `type_op_ascribe_user_type` `{:?}`" , goal. value. value }
1996
- remap_env_constness
1997
1981
}
1998
1982
1999
1983
/// Do not call this query directly: part of the `Eq` type-op
@@ -2004,7 +1988,6 @@ rustc_queries! {
2004
1988
NoSolution ,
2005
1989
> {
2006
1990
desc { "evaluating `type_op_eq` `{:?}`" , goal. value. value }
2007
- remap_env_constness
2008
1991
}
2009
1992
2010
1993
/// Do not call this query directly: part of the `Subtype` type-op
@@ -2015,7 +1998,6 @@ rustc_queries! {
2015
1998
NoSolution ,
2016
1999
> {
2017
2000
desc { "evaluating `type_op_subtype` `{:?}`" , goal. value. value }
2018
- remap_env_constness
2019
2001
}
2020
2002
2021
2003
/// Do not call this query directly: part of the `ProvePredicate` type-op
@@ -2036,7 +2018,6 @@ rustc_queries! {
2036
2018
NoSolution ,
2037
2019
> {
2038
2020
desc { "normalizing `{}`" , goal. value. value. value }
2039
- remap_env_constness
2040
2021
}
2041
2022
2042
2023
/// Do not call this query directly: part of the `Normalize` type-op
@@ -2047,7 +2028,6 @@ rustc_queries! {
2047
2028
NoSolution ,
2048
2029
> {
2049
2030
desc { "normalizing `{:?}`" , goal. value. value. value }
2050
- remap_env_constness
2051
2031
}
2052
2032
2053
2033
/// Do not call this query directly: part of the `Normalize` type-op
@@ -2058,7 +2038,6 @@ rustc_queries! {
2058
2038
NoSolution ,
2059
2039
> {
2060
2040
desc { "normalizing `{:?}`" , goal. value. value. value }
2061
- remap_env_constness
2062
2041
}
2063
2042
2064
2043
/// Do not call this query directly: part of the `Normalize` type-op
@@ -2069,7 +2048,6 @@ rustc_queries! {
2069
2048
NoSolution ,
2070
2049
> {
2071
2050
desc { "normalizing `{:?}`" , goal. value. value. value }
2072
- remap_env_constness
2073
2051
}
2074
2052
2075
2053
query subst_and_check_impossible_predicates( key: ( DefId , SubstsRef <' tcx>) ) -> bool {
@@ -2091,7 +2069,6 @@ rustc_queries! {
2091
2069
goal: CanonicalTyGoal <' tcx>
2092
2070
) -> MethodAutoderefStepsResult <' tcx> {
2093
2071
desc { "computing autoderef types for `{}`" , goal. value. value }
2094
- remap_env_constness
2095
2072
}
2096
2073
2097
2074
query supported_target_features( _: CrateNum ) -> & ' tcx FxHashMap <String , Option <Symbol >> {
@@ -2136,7 +2113,6 @@ rustc_queries! {
2136
2113
key: ty:: ParamEnvAnd <' tcx, ( DefId , SubstsRef <' tcx>) >
2137
2114
) -> Result <Option <ty:: Instance <' tcx>>, ErrorGuaranteed > {
2138
2115
desc { "resolving instance `{}`" , ty:: Instance :: new( key. value. 0 , key. value. 1 ) }
2139
- remap_env_constness
2140
2116
}
2141
2117
2142
2118
query resolve_instance_of_const_arg(
@@ -2146,7 +2122,6 @@ rustc_queries! {
2146
2122
"resolving instance of the const argument `{}`" ,
2147
2123
ty:: Instance :: new( key. value. 0 . to_def_id( ) , key. value. 2 ) ,
2148
2124
}
2149
- remap_env_constness
2150
2125
}
2151
2126
2152
2127
query reveal_opaque_types_in_bounds( key: & ' tcx ty:: List <ty:: Predicate <' tcx>>) -> & ' tcx ty:: List <ty:: Predicate <' tcx>> {
0 commit comments