diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-04-25 21:06:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-25 21:06:32 +0200 |
| commit | 297b2220667a6fb042abd412cdf51cf3fd9fce55 (patch) | |
| tree | 5f9dd4a8a067e21f4f0330b537f8b2d9046b661b /compiler/rustc_metadata/src/rmeta/decoder | |
| parent | 666fee2a5fb3a4ec75953b9e6622662ae10b9ae5 (diff) | |
| parent | 5a69b5d0f9753a7e780849ec930b1bb48653588b (diff) | |
| download | rust-297b2220667a6fb042abd412cdf51cf3fd9fce55.tar.gz rust-297b2220667a6fb042abd412cdf51cf3fd9fce55.zip | |
Rollup merge of #110556 - kylematsuda:earlybinder-explicit-item-bounds, r=compiler-errors
Switch to `EarlyBinder` for `explicit_item_bounds` Part of the work to finish https://github.com/rust-lang/rust/issues/105779. This PR adds `EarlyBinder` to the return type of the `explicit_item_bounds` query and removes `bound_explicit_item_bounds`. r? `@compiler-errors` (hope it's okay to request you, since you reviewed #110299 and #110498 :smiley:)
Diffstat (limited to 'compiler/rustc_metadata/src/rmeta/decoder')
| -rw-r--r-- | compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs b/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs index 141980912b1..4a3b783c636 100644 --- a/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs +++ b/compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs @@ -203,7 +203,7 @@ impl IntoArgs for (CrateNum, SimplifiedType) { } provide! { tcx, def_id, other, cdata, - explicit_item_bounds => { table_defaulted_array } + explicit_item_bounds => { cdata.get_explicit_item_bounds(def_id.index, tcx) } explicit_predicates_of => { table } generics_of => { table } inferred_outlives_of => { table_defaulted_array } |
