There was an error while loading. Please reload this page.
1 parent c3fdefe commit 225a4bfCopy full SHA for 225a4bf
compiler/rustc_target/src/abi/mod.rs
@@ -1011,9 +1011,6 @@ impl Niche {
1011
let start = v.end.wrapping_add(1) & max_value;
1012
let end = v.end.wrapping_add(count) & max_value;
1013
1014
- // If the `end` of our range is inside the valid range,
1015
- // then we ran out of invalid values.
1016
- // FIXME(eddyb) abstract this with a wraparound range type.
1017
if v.contains(end) {
1018
return None;
1019
}
0 commit comments