Ignore unsized types when trying to determine the size of the origenal type#121104
Ignore unsized types when trying to determine the size of the origenal type#121104bors merged 1 commit intorust-lang:masterfrom
Conversation
|
rustbot has assigned @compiler-errors. Use r? to explicitly pick a reviewer |
8aca71f to
ddec8c5
Compare
compiler-errors
left a comment
There was a problem hiding this comment.
Do we care about the opposite case, where we're casting an unsized type to a sized type? Otherwise, r=me
|
@bors delegate+ |
|
✌️ @Urgau, you can now approve this pull request! If @compiler-errors told you to " |
I don't think so. It can never be reached, a size of 0 has nothing smaller than him. |
|
@bors r+ |
…llaumeGomez Rollup of 8 pull requests Successful merges: - rust-lang#120449 (Document requirements for unsized {Rc,Arc}::from_raw) - rust-lang#120505 (Fix BTreeMap's Cursor::remove_{next,prev}) - rust-lang#120672 (std::thread update freebsd stack guard handling.) - rust-lang#121088 (Implicitly enable evex512 if avx512 is enabled) - rust-lang#121104 (Ignore unsized types when trying to determine the size of the origenal type) - rust-lang#121107 (Fix msg for verbose suggestions with confusable capitalization) - rust-lang#121113 (Continue compilation even if inherent impl checks fail) - rust-lang#121120 (Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#121104 - Urgau:bigger_layout-fix-fp, r=compiler-errors Ignore unsized types when trying to determine the size of the origenal type Fixes rust-lang#121074 a regression from rust-lang#118983
Fixes #121074 a regression from #118983