Repository navigation
Conversation
|
This PR changes rustc_public cc @oli-obk, @celinval, @ouz-a, @makai410 Some changes occurred to the CTFE machinery Some changes occurred in compiler/rustc_sanitizers cc @rcvalle changes to the core type system cc @lcnr Some changes occurred in compiler/rustc_codegen_llvm/src/debuginfo cc @Walnut356 Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri Some changes occurred in exhaustiveness checking cc @Nadrieril
cc @rust-lang/clippy Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt HIR ty lowering was modified cc @fmease |
after some discussion, we decided we want view types to be `!Sized`, at least at the beginning. this commit updates the test suite so that view types are not passed by value anymore.
this commit is quite big because we want to always exhaustively match on all the `TyKind` variants. none of the `unimplemented!()` is reachable because we don't *actually* lower view types (yet!).
/!\ the test suite is has not been updated /!\ the `unreachable!()`s added previously are suddenly reached, triggering literally all the view types test suite to ICE. this is fixed by the next commit.
6568099 to
c759b6e
Compare
|
cc @rust-lang/rustfmt |
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
force-push contains:
|
This comment has been minimized.
This comment has been minimized.
c759b6e to
f90bc74
Compare
f90bc74 to
2235438
Compare
after writing #165565 i realized we had no test for view type sizedness, so i added some. it also allowed me to improve the formatting of view types a bit.
over #165565.
part of #155938.
@rustbot blocked by #165565
r? oli-obk