We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 83b11f7 + b2317a6 commit 9d11933Copy full SHA for 9d11933
compiler/rustc_trait_selection/src/solve/overflow.rs
@@ -36,7 +36,7 @@ impl OverflowData {
36
37
#[inline]
38
pub(super) fn has_overflow(&self, depth: usize) -> bool {
39
- self.current_limit.value_within_limit(depth + self.additional_depth)
+ !self.current_limit.value_within_limit(depth + self.additional_depth)
40
}
41
42
/// Updating the current limit when hitting overflow.
0 commit comments