Always make inductive cycles as ambig during typeck
This commit is contained in:
parent
66de611196
commit
b8396d10c4
7 changed files with 53 additions and 28 deletions
|
@ -236,7 +236,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
freshener: infcx.freshener(),
|
||||
intercrate_ambiguity_causes: None,
|
||||
query_mode: TraitQueryMode::Standard,
|
||||
treat_inductive_cycle: TreatInductiveCycleAs::Recur,
|
||||
treat_inductive_cycle: TreatInductiveCycleAs::Ambig,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue