We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f83468c commit b509e2dCopy full SHA for b509e2d
compiler/rustc_middle/src/mir/mod.rs
@@ -1568,6 +1568,7 @@ impl Location {
1568
///
1569
/// Note that if this location represents a terminator, then the
1570
/// resulting location would be out of bounds and invalid.
1571
+ #[inline]
1572
pub fn successor_within_block(&self) -> Location {
1573
Location { block: self.block, statement_index: self.statement_index + 1 }
1574
}
0 commit comments