Skip to content

Commit 2e9bcc2

Browse files
committed
codegen: ignore unsupported var debuginfo projection
1 parent fd3e6e2 commit 2e9bcc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_codegen_ssa/src/mir/debuginfo.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ fn calculate_debuginfo_offset<
205205
_ => {
206206
// Sanity check for `can_use_in_debuginfo`.
207207
assert!(!elem.can_use_in_debuginfo());
208-
bug!("unsupported var debuginfo projection `{:?}`", projection)
208+
// TODO: Temporarily disabled for testing purposes.
209+
// bug!("unsupported var debuginfo projection `{:?}`", projection)
209210
}
210211
}
211212
}

0 commit comments

Comments
 (0)