Remove associated type based effects logic
This commit is contained in:
parent
8aca4bab08
commit
a16d491054
73 changed files with 85 additions and 1519 deletions
|
@ -1821,8 +1821,7 @@ impl<'tcx> SelectionContext<'_, 'tcx> {
|
|||
|cand: ty::PolyTraitPredicate<'tcx>| cand.is_global() && !cand.has_bound_vars();
|
||||
|
||||
// (*) Prefer `BuiltinCandidate { has_nested: false }`, `PointeeCandidate`,
|
||||
// `DiscriminantKindCandidate`, `ConstDestructCandidate`
|
||||
// to anything else.
|
||||
// or `DiscriminantKindCandidate` to anything else.
|
||||
//
|
||||
// This is a fix for #53123 and prevents winnowing from accidentally extending the
|
||||
// lifetime of a variable.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue