remove remaining references to Reveal
This commit is contained in:
@@ -133,8 +133,10 @@ fn resolve_associated_item<'tcx>(
|
||||
bug!("{:?} not found in {:?}", trait_item_id, impl_data.impl_def_id);
|
||||
});
|
||||
|
||||
// Since this is a trait item, we need to see if the item is either a trait default item
|
||||
// or a specialization because we can't resolve those unless we can `Reveal::All`.
|
||||
// Since this is a trait item, we need to see if the item is either a trait
|
||||
// default item or a specialization because we can't resolve those until we're
|
||||
// in `TypingMode::PostAnalysis`.
|
||||
//
|
||||
// NOTE: This should be kept in sync with the similar code in
|
||||
// `rustc_trait_selection::traits::project::assemble_candidates_from_impls()`.
|
||||
let eligible = if leaf_def.is_final() {
|
||||
|
||||
Reference in New Issue
Block a user