mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
remove unused method
This commit is contained in:
@@ -1284,11 +1284,6 @@ fn frame(&self) -> &Frame<'a, 'tcx> {
|
||||
self.stack.last().expect("no call frames exist")
|
||||
}
|
||||
|
||||
fn basic_block(&self) -> &mir::BasicBlockData<'tcx> {
|
||||
let frame = self.frame();
|
||||
frame.mir.basic_block_data(frame.next_block)
|
||||
}
|
||||
|
||||
fn frame_mut(&mut self) -> &mut Frame<'a, 'tcx> {
|
||||
self.stack.last_mut().expect("no call frames exist")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user