File tree Expand file tree Collapse file tree
compiler/rustc_next_trait_solver/src/solve Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ use crate::solve::assembly::Candidate;
3939///
4040/// We previously used `cx.recursion_limit().0.checked_ilog2().unwrap_or(0)` for this.
4141/// However, it feels unlikely that uncreasing the recursion limit by a power of two
42- /// to get one more iteration is every useful or desirable. We now instead used a constant
42+ /// to get one more iteration is ever useful or desirable. We now instead used a constant
4343/// here. If there ever ends up some use-cases where a bigger number of fixpoint iterations
44- /// is required, we can add a new attribute for that or revert this to be dependant on the
44+ /// is required, we can add a new attribute for that or revert this to be dependent on the
4545/// recursion limit again. However, this feels very unlikely.
4646const FIXPOINT_STEP_LIMIT : usize = 8 ;
4747
You can’t perform that action at this time.
0 commit comments