@@ -1094,7 +1094,6 @@ rustc_queries! {
1094
1094
key: ty:: ParamEnvAnd <' tcx, mir:: ConstantKind <' tcx>>
1095
1095
) -> Option <mir:: DestructuredConstant <' tcx>> {
1096
1096
desc { "destructuring MIR constant" }
1097
- remap_env_constness
1098
1097
}
1099
1098
1100
1099
/// Dereference a constant reference or raw pointer and turn the result into a constant
@@ -1103,7 +1102,6 @@ rustc_queries! {
1103
1102
key: ty:: ParamEnvAnd <' tcx, mir:: ConstantKind <' tcx>>
1104
1103
) -> mir:: ConstantKind <' tcx> {
1105
1104
desc { "dereferencing MIR constant" }
1106
- remap_env_constness
1107
1105
}
1108
1106
1109
1107
query const_caller_location( key: ( rustc_span:: Symbol , u32 , u32 ) ) -> ConstValue <' tcx> {
@@ -1346,32 +1344,26 @@ rustc_queries! {
1346
1344
/// `ty.is_copy()`, etc, since that will prune the environment where possible.
1347
1345
query is_copy_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1348
1346
desc { "computing whether `{}` is `Copy`" , env. value }
1349
- remap_env_constness
1350
1347
}
1351
1348
/// Query backing `Ty::is_sized`.
1352
1349
query is_sized_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1353
1350
desc { "computing whether `{}` is `Sized`" , env. value }
1354
- remap_env_constness
1355
1351
}
1356
1352
/// Query backing `Ty::is_freeze`.
1357
1353
query is_freeze_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1358
1354
desc { "computing whether `{}` is freeze" , env. value }
1359
- remap_env_constness
1360
1355
}
1361
1356
/// Query backing `Ty::is_unpin`.
1362
1357
query is_unpin_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1363
1358
desc { "computing whether `{}` is `Unpin`" , env. value }
1364
- remap_env_constness
1365
1359
}
1366
1360
/// Query backing `Ty::needs_drop`.
1367
1361
query needs_drop_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1368
1362
desc { "computing whether `{}` needs drop" , env. value }
1369
- remap_env_constness
1370
1363
}
1371
1364
/// Query backing `Ty::has_significant_drop_raw`.
1372
1365
query has_significant_drop_raw( env: ty:: ParamEnvAnd <' tcx, Ty <' tcx>>) -> bool {
1373
1366
desc { "computing whether `{}` has a significant drop" , env. value }
1374
- remap_env_constness
1375
1367
}
1376
1368
1377
1369
/// Query backing `Ty::is_structural_eq_shallow`.
@@ -1411,7 +1403,6 @@ rustc_queries! {
1411
1403
) -> Result <ty:: layout:: TyAndLayout <' tcx>, ty:: layout:: LayoutError <' tcx>> {
1412
1404
depth_limit
1413
1405
desc { "computing layout of `{}`" , key. value }
1414
- remap_env_constness
1415
1406
}
1416
1407
1417
1408
/// Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers.
@@ -1422,7 +1413,6 @@ rustc_queries! {
1422
1413
key: ty:: ParamEnvAnd <' tcx, ( ty:: PolyFnSig <' tcx>, & ' tcx ty:: List <Ty <' tcx>>) >
1423
1414
) -> Result <& ' tcx abi:: call:: FnAbi <' tcx, Ty <' tcx>>, ty:: layout:: FnAbiError <' tcx>> {
1424
1415
desc { "computing call ABI of `{}` function pointers" , key. value. 0 }
1425
- remap_env_constness
1426
1416
}
1427
1417
1428
1418
/// Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for
@@ -1434,7 +1424,6 @@ rustc_queries! {
1434
1424
key: ty:: ParamEnvAnd <' tcx, ( ty:: Instance <' tcx>, & ' tcx ty:: List <Ty <' tcx>>) >
1435
1425
) -> Result <& ' tcx abi:: call:: FnAbi <' tcx, Ty <' tcx>>, ty:: layout:: FnAbiError <' tcx>> {
1436
1426
desc { "computing call ABI of `{}`" , key. value. 0 }
1437
- remap_env_constness
1438
1427
}
1439
1428
1440
1429
query dylib_dependency_formats( _: CrateNum )
@@ -1937,15 +1926,13 @@ rustc_queries! {
1937
1926
NoSolution ,
1938
1927
> {
1939
1928
desc { "normalizing `{}`" , goal. value. value }
1940
- remap_env_constness
1941
1929
}
1942
1930
1943
1931
/// Do not call this query directly: invoke `try_normalize_erasing_regions` instead.
1944
1932
query try_normalize_generic_arg_after_erasing_regions(
1945
1933
goal: ParamEnvAnd <' tcx, GenericArg <' tcx>>
1946
1934
) -> Result <GenericArg <' tcx>, NoSolution > {
1947
1935
desc { "normalizing `{}`" , goal. value }
1948
- remap_env_constness
1949
1936
}
1950
1937
1951
1938
query implied_outlives_bounds(
@@ -1955,7 +1942,6 @@ rustc_queries! {
1955
1942
NoSolution ,
1956
1943
> {
1957
1944
desc { "computing implied outlives bounds for `{}`" , goal. value. value }
1958
- remap_env_constness
1959
1945
}
1960
1946
1961
1947
/// Do not call this query directly:
@@ -1967,7 +1953,6 @@ rustc_queries! {
1967
1953
NoSolution ,
1968
1954
> {
1969
1955
desc { "computing dropck types for `{}`" , goal. value. value }
1970
- remap_env_constness
1971
1956
}
1972
1957
1973
1958
/// Do not call this query directly: invoke `infcx.predicate_may_hold()` or
@@ -1995,7 +1980,6 @@ rustc_queries! {
1995
1980
NoSolution ,
1996
1981
> {
1997
1982
desc { "evaluating `type_op_ascribe_user_type` `{:?}`" , goal. value. value }
1998
- remap_env_constness
1999
1983
}
2000
1984
2001
1985
/// Do not call this query directly: part of the `Eq` type-op
@@ -2006,7 +1990,6 @@ rustc_queries! {
2006
1990
NoSolution ,
2007
1991
> {
2008
1992
desc { "evaluating `type_op_eq` `{:?}`" , goal. value. value }
2009
- remap_env_constness
2010
1993
}
2011
1994
2012
1995
/// Do not call this query directly: part of the `Subtype` type-op
@@ -2017,7 +2000,6 @@ rustc_queries! {
2017
2000
NoSolution ,
2018
2001
> {
2019
2002
desc { "evaluating `type_op_subtype` `{:?}`" , goal. value. value }
2020
- remap_env_constness
2021
2003
}
2022
2004
2023
2005
/// Do not call this query directly: part of the `ProvePredicate` type-op
@@ -2038,7 +2020,6 @@ rustc_queries! {
2038
2020
NoSolution ,
2039
2021
> {
2040
2022
desc { "normalizing `{}`" , goal. value. value. value }
2041
- remap_env_constness
2042
2023
}
2043
2024
2044
2025
/// Do not call this query directly: part of the `Normalize` type-op
@@ -2049,7 +2030,6 @@ rustc_queries! {
2049
2030
NoSolution ,
2050
2031
> {
2051
2032
desc { "normalizing `{:?}`" , goal. value. value. value }
2052
- remap_env_constness
2053
2033
}
2054
2034
2055
2035
/// Do not call this query directly: part of the `Normalize` type-op
@@ -2060,7 +2040,6 @@ rustc_queries! {
2060
2040
NoSolution ,
2061
2041
> {
2062
2042
desc { "normalizing `{:?}`" , goal. value. value. value }
2063
- remap_env_constness
2064
2043
}
2065
2044
2066
2045
/// Do not call this query directly: part of the `Normalize` type-op
@@ -2071,7 +2050,6 @@ rustc_queries! {
2071
2050
NoSolution ,
2072
2051
> {
2073
2052
desc { "normalizing `{:?}`" , goal. value. value. value }
2074
- remap_env_constness
2075
2053
}
2076
2054
2077
2055
query subst_and_check_impossible_predicates( key: ( DefId , SubstsRef <' tcx>) ) -> bool {
@@ -2093,7 +2071,6 @@ rustc_queries! {
2093
2071
goal: CanonicalTyGoal <' tcx>
2094
2072
) -> MethodAutoderefStepsResult <' tcx> {
2095
2073
desc { "computing autoderef types for `{}`" , goal. value. value }
2096
- remap_env_constness
2097
2074
}
2098
2075
2099
2076
query supported_target_features( _: CrateNum ) -> & ' tcx FxHashMap <String , Option <Symbol >> {
@@ -2138,7 +2115,6 @@ rustc_queries! {
2138
2115
key: ty:: ParamEnvAnd <' tcx, ( DefId , SubstsRef <' tcx>) >
2139
2116
) -> Result <Option <ty:: Instance <' tcx>>, ErrorGuaranteed > {
2140
2117
desc { "resolving instance `{}`" , ty:: Instance :: new( key. value. 0 , key. value. 1 ) }
2141
- remap_env_constness
2142
2118
}
2143
2119
2144
2120
query resolve_instance_of_const_arg(
@@ -2148,7 +2124,6 @@ rustc_queries! {
2148
2124
"resolving instance of the const argument `{}`" ,
2149
2125
ty:: Instance :: new( key. value. 0 . to_def_id( ) , key. value. 2 ) ,
2150
2126
}
2151
- remap_env_constness
2152
2127
}
2153
2128
2154
2129
query reveal_opaque_types_in_bounds( key: & ' tcx ty:: List <ty:: Predicate <' tcx>>) -> & ' tcx ty:: List <ty:: Predicate <' tcx>> {
0 commit comments