Auto merge of #39411 - tamird:match-arm-statics-ICE, r=alexcrichton
statics in match arm: compile with -g Resubmission of #29700. r? @alexcrichton
This commit is contained in:
commit
a47a6ea771
@ -60,8 +60,7 @@ pub fn bytes_to_bits(bytes: u64) -> u64 {
|
||||
#[inline]
|
||||
pub fn debug_context<'a, 'tcx>(cx: &'a CrateContext<'a, 'tcx>)
|
||||
-> &'a CrateDebugContext<'tcx> {
|
||||
let debug_context: &'a CrateDebugContext<'tcx> = cx.dbg_cx().as_ref().unwrap();
|
||||
debug_context
|
||||
cx.dbg_cx().as_ref().unwrap()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
@ -8,6 +8,7 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// compile-flags: -g
|
||||
|
||||
#[derive(PartialEq, Eq)]
|
||||
struct NewBool(bool);
|
||||
|
Loading…
Reference in New Issue
Block a user