Repository navigation
Conversation
48b4287 to
cca7f38
Compare
|
r? oli-obk |
|
changes to the core type system cc @lcnr Some changes occurred in compiler/rustc_sanitizers cc @rcvalle Some changes occurred to the CTFE machinery Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri HIR ty lowering was modified cc @fmease Some changes occurred in exhaustiveness checking cc @Nadrieril Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt
cc @rust-lang/clippy This PR changes rustc_public cc @oli-obk, @celinval, @ouz-a, @makai410 Some changes occurred in compiler/rustc_codegen_llvm/src/debuginfo cc @Walnut356 |
There was a problem hiding this comment.
should also add a test showing that view types are actually unsized. nevermind, just saw #165694
|
Reminder, once the PR becomes ready for a review, use |
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.
cca7f38 to
3601d42
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:
@rustbot ready |
This comment has been minimized.
This comment has been minimized.
3601d42 to
8ec4983
Compare
|
@bors r+ rollup |
…g, r=oli-obk view-types: lower view types from HIR
…uwer Rollup of 5 pull requests Successful merges: - #165854 (Explicitly drop job server helper thread) - #164077 (replace `TypingEnv::post_analysis()` with `mir::Body::typing_env()`) - #165305 (hexagon: pass small aggregates on the stack when registers run out) - #165417 (Mention width limit panic in fmt doc) - #165565 (view-types: lower view types from HIR)
8ec4983 to
7080197
Compare
|
This pull request was unapproved. This PR was contained in a rollup (#165866), which was closed. |
|
@rustbot ready |
part of #155938.
this PR is big but most of the changes come from the second commit and are quite boring. it leaves a whole lot of
unimplemented!()in the codebase, but i believe this is ok for a nightly feature that nobody is seriously using. i will fix them later.