-
Couldn't load subscription status.
- Fork 13.9k
validating the vtable can lead to Stacked Borrows errors #97761
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
Conversation
|
Some changes occured to the CTFE / Miri engine cc @rust-lang/miri |
|
r? @cjgillot (rust-highfive has picked a reviewer for you, use r? to override) |
5f5a3bc to
67ec969
Compare
|
IIUC, this fixes a miri ICE, and the worst that could happen is a weird diagnostic if the assumption is wrong. |
|
📌 Commit 67ec969 has been approved by |
validating the vtable can lead to Stacked Borrows errors Fixes rust-lang/miri#2123
Rollup of 5 pull requests Successful merges: - rust-lang#97761 (validating the vtable can lead to Stacked Borrows errors) - rust-lang#97789 (Fix rust-lang#71363's test by adding `-Z translate-remapped-path-to-local-path=no`) - rust-lang#97913 (Wrap `HirId`s of locals into `LocalVarId`s for THIR nodes) - rust-lang#97979 (Fix typos in Provider API docs) - rust-lang#97987 (remove an unnecessary `String`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
test for Stacked Borrows error during vtable validation Fixes #2123 Needs rust-lang/rust#97761
test for Stacked Borrows error during vtable validation Fixes #2123 Needs rust-lang/rust#97761
Fixes rust-lang/miri#2123