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 55f9712 commit bcca5e6Copy full SHA for bcca5e6
src/librustc_trans/debuginfo/utils.rs
@@ -60,8 +60,7 @@ pub fn bytes_to_bits(bytes: u64) -> u64 {
60
#[inline]
61
pub fn debug_context<'a, 'tcx>(cx: &'a CrateContext<'a, 'tcx>)
62
-> &'a CrateDebugContext<'tcx> {
63
- let debug_context: &'a CrateDebugContext<'tcx> = cx.dbg_cx().as_ref().unwrap();
64
- debug_context
+ cx.dbg_cx().as_ref().unwrap()
65
}
66
67
0 commit comments