Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,6 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
// We use implementations of VaArgSafe as the source of truth. On some embedded
// targets, c_double is f32 and c_int/c_uing are i16/u16, and these types implement
// VaArgSafe there. On all other targets, these types do not implement VaArgSafe.
//
// cfg(bootstrap): change the if let to an unwrap.
let arg_ty = self.structurally_resolve_type(arg.span, arg_ty);
if let Some(trait_def_id) = tcx.lang_items().va_arg_safe()
&& self
Expand Down
Loading