-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: assertion failed: ty::type_is_sized(bcx.tcx(), contents_ty) #16813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc me |
These should be type errors, we should not allow unsized rvalues. |
nrc
added a commit
to nrc/rust
that referenced
this issue
Sep 7, 2014
bors
added a commit
that referenced
this issue
Sep 8, 2014
Closes #16813 r? @nikomatsakis I feel like I should be checking more things in check_rvalues, but not sure what - I don't properly understand expr_use_visitor
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Apr 20, 2024
…, r=Veykril Wrap/Unwrap cfg_attr https://github.com/rust-lang/rust-analyzer/assets/11785959/f5f1bb71-22e7-438b-9a22-65ebab1b362d https://github.com/rust-lang/rust-analyzer/assets/11785959/36933a4e-0000-455a-abe3-af774cd854d0 ## TODO - [x] Add Tests - [x] Wrap derive elements Closes rust-lang#13965
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Apr 20, 2024
…, r=Veykril Wrap/Unwrap cfg_attr https://github.com/rust-lang/rust-analyzer/assets/11785959/f5f1bb71-22e7-438b-9a22-65ebab1b362d https://github.com/rust-lang/rust-analyzer/assets/11785959/36933a4e-0000-455a-abe3-af774cd854d0 ## TODO - [x] Add Tests - [x] Wrap derive elements Closes rust-lang#13965
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Backtrace:
This seemingly is caused by
trans_uniq_expr
assuming that the type being boxed is sized. This assertion is not present in the equivalent for&
-pointers,trans_addr_of
.The text was updated successfully, but these errors were encountered: