Repository navigation
Fix transmutability type mismatch bug - #163946
Conversation
|
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
|
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2efe77b to
73189a9
Compare
|
@bors delegate+ |
|
@bors r=lcnr,ShoyuVanilla rollup |
…uVanilla Fix transmutability type mismatch bug Fixes rust-lang#161251 r? @ShoyuVanilla The change was done as instructed by @ShoyuVanilla and @lcnr on Zulip. There are some leftover questions I'll add as comments (self review). But the original examples are both fixed.
…uVanilla Fix transmutability type mismatch bug Fixes rust-lang#161251 r? @ShoyuVanilla The change was done as instructed by @ShoyuVanilla and @lcnr on Zulip. There are some leftover questions I'll add as comments (self review). But the original examples are both fixed.
…uwer Rollup of 8 pull requests Successful merges: - #164196 (`rust-analyzer` subtree update) - #164037 (Restrict application of optimization attributes from instance) - #164201 (Improve `--bless` output for `tests/debuginfo`) - #164202 ([rustdoc] Move the creation of `IndividualTestOptions` into the test runner closure to ensure the temporary folder is removed right after the test is done running) - #162140 (fn_addr_eq: we actually can guarantee basically nothing) - #163946 (Fix transmutability type mismatch bug) - #163978 (Copy over some methods from At to InferCtxt) - #164045 (-Zassumptions-on-binders: replace region vars with bound vars when handling alias outlives')
Rollup merge of #163946 - lsunsi:next-transmute, r=lcnr,ShoyuVanilla Fix transmutability type mismatch bug Fixes #161251 r? @ShoyuVanilla The change was done as instructed by @ShoyuVanilla and @lcnr on Zulip. There are some leftover questions I'll add as comments (self review). But the original examples are both fixed.
|
yikes xd, I meant #149228 😅 |
|
@lcnr The test added in #149228 passes cleanly on compare mode. Do you want me to open a PR with just the new test? Or maybe just close the PR directly? |
|
please add these tests in a separate PR, yeah 😊 |
Add transmutability test to cover for superseded PR Adds a test present in rust-lang#149228 that was fixed by rust-lang#163946.
Add transmutability test to cover for superseded PR Adds a test present in rust-lang#149228 that was fixed by rust-lang#163946.
…uwer Rollup of 8 pull requests Successful merges: - rust-lang/rust#164196 (`rust-analyzer` subtree update) - rust-lang/rust#164037 (Restrict application of optimization attributes from instance) - rust-lang/rust#164201 (Improve `--bless` output for `tests/debuginfo`) - rust-lang/rust#164202 ([rustdoc] Move the creation of `IndividualTestOptions` into the test runner closure to ensure the temporary folder is removed right after the test is done running) - rust-lang/rust#162140 (fn_addr_eq: we actually can guarantee basically nothing) - rust-lang/rust#163946 (Fix transmutability type mismatch bug) - rust-lang/rust#163978 (Copy over some methods from At to InferCtxt) - rust-lang/rust#164045 (-Zassumptions-on-binders: replace region vars with bound vars when handling alias outlives')
View all comments
Fixes #161251
r? @ShoyuVanilla
The change was done as instructed by @ShoyuVanilla and @lcnr on Zulip.
There are some leftover questions I'll add as comments (self review).
But the original examples are both fixed.