XSimplifiedType to SimplifiedType::X
This commit is contained in:
parent
c67cb3e577
commit
fdaec57a28
7 changed files with 116 additions and 118 deletions
|
@ -686,7 +686,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
|||
| ty::Tuple(_)
|
||||
| ty::Adt(_, _)
|
||||
// FIXME: Handling opaques here is kinda sus. Especially because we
|
||||
// simplify them to PlaceholderSimplifiedType.
|
||||
// simplify them to SimplifiedType::Placeholder.
|
||||
| ty::Alias(ty::Opaque, _) => {
|
||||
let mut disqualifying_impl = None;
|
||||
self.tcx().for_each_relevant_impl_treating_projections(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue