librustc: De-mut CrateDebugContext
This commit is contained in:
parent
e66bcf44b9
commit
d40974a5fe
1 changed files with 3 additions and 2 deletions
|
|
@ -2241,8 +2241,9 @@ fn bytes_to_bits(bytes: uint) -> c_ulonglong {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
fn debug_context<'a>(cx: &'a mut CrateContext) -> &'a mut CrateDebugContext {
|
||||
cx.dbg_cx.get_mut_ref()
|
||||
fn debug_context<'a>(cx: &'a mut CrateContext) -> &'a CrateDebugContext {
|
||||
let debug_context: &'a CrateDebugContext = cx.dbg_cx.get_mut_ref();
|
||||
debug_context
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue