Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
021a12c
Sprinkle some `#[inline]` in `rustc_data_structures::tagged_ptr`
WaffleLapkin Apr 25, 2023
6a41cfe
Migrate `rustc_passes` to translatable diagnostics
clubby789 Apr 25, 2023
3402e28
Downsize builders for i686-gnu
jdno Apr 26, 2023
4cbe65d
Downsize builder for mingw-check
jdno Apr 26, 2023
47528c0
Downsize builders for some x86_64-gnu targets
jdno Apr 26, 2023
ef6d4c5
Remove repeated definite articles
cuishuang Apr 25, 2023
0776a4b
docs(style): add more let-else examples
calebcartwright Apr 16, 2023
0fabceb
Make method-not-found-generic-arg-elision.rs error message not path d…
compiler-errors Apr 26, 2023
c18e7b7
IntoFuture::into_future is no longer unstable
compiler-errors Apr 26, 2023
5b6e747
Nicer ICE for #67981
Jules-Bertholet Apr 26, 2023
4cf06e5
Rollup merge of #110426 - calebcartwright:style-let-else-examples, r=…
matthiaskrgr Apr 27, 2023
2647953
Rollup merge of #110804 - cuishuang:master, r=jyn514
matthiaskrgr Apr 27, 2023
6f79f5d
Rollup merge of #110814 - WaffleLapkin:sprinkle_#inline, r=Nilstrieb
matthiaskrgr Apr 27, 2023
cc197c2
Rollup merge of #110816 - clubby789:rustc-passes-diagnostics, r=compi…
matthiaskrgr Apr 27, 2023
fb5ef4f
Rollup merge of #110846 - jdno:reduce-builder-sizes, r=pietroalbini
matthiaskrgr Apr 27, 2023
0a6cf42
Rollup merge of #110864 - compiler-errors:into-future-stable, r=jackh726
matthiaskrgr Apr 27, 2023
ce1662a
Rollup merge of #110866 - compiler-errors:test, r=jyn514
matthiaskrgr Apr 27, 2023
1f3f65b
Rollup merge of #110872 - Jules-Bertholet:err-67981, r=wesleywiser
matthiaskrgr Apr 27, 2023
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
Prev Previous commit
Next Next commit
Nicer ICE for #67981
  • Loading branch information
Jules-Bertholet committed Apr 26, 2023
commit 5b6e747f37bd75c611674781b7035b2e47bb2d4c
12 changes: 11 additions & 1 deletion compiler/rustc_codegen_ssa/src/mir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,17 @@ fn arg_local_refs<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
bug!("spread argument isn't a tuple?!");
};

let place = PlaceRef::alloca(bx, bx.layout_of(arg_ty));
let layout = bx.layout_of(arg_ty);

// FIXME: support unsized params in "rust-call" ABI
if layout.is_unsized() {
span_bug!(
arg_decl.source_info.span,
"\"rust-call\" ABI does not support unsized params",
);
}

let place = PlaceRef::alloca(bx, layout);
for i in 0..tupled_arg_tys.len() {
let arg = &fx.fn_abi.args[idx];
idx += 1;
Expand Down