-
Notifications
You must be signed in to change notification settings - Fork 13.4k
const: don't ICE when encountering a mutable ref to immutable memory #130394
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri |
@@ -1,4 +1,3 @@ | |||
//@ stderr-per-bitwidth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unrelated to the PR, I just noticed there's no reason to have per-bitwidth error files here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah there's a lot of silliness in our test annotations. Glad to have a random improvement like this ❤️
f6f9a13
to
d4918df
Compare
r? saethlin |
☔ The latest upstream changes (presumably #130390) made this pull request unmergeable. Please resolve the merge conflicts. |
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#129439 (Implement feature `string_from_utf8_lossy_owned` for lossy conversion from `Vec<u8>` to `String` methods) - rust-lang#129828 (miri: treat non-memory local variables properly for data race detection) - rust-lang#130110 (make dist vendoring configurable) - rust-lang#130293 (Fix lint levels not getting overridden by attrs on `Stmt` nodes) - rust-lang#130342 (interpret, miri: fix dealing with overflow during slice indexing and allocation) Failed merges: - rust-lang#130394 (const: don't ICE when encountering a mutable ref to immutable memory) r? `@ghost` `@rustbot` modify labels: rollup
d4918df
to
7dfffe7
Compare
@bors r=saethlin |
…iaskrgr Rollup of 3 pull requests Successful merges: - rust-lang#130151 (Use a small runner for msvc-ext2 job) - rust-lang#130394 (const: don't ICE when encountering a mutable ref to immutable memory) - rust-lang#130409 (tests: more ice tests) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#130394 - RalfJung:mut-ref-to-immut, r=saethlin const: don't ICE when encountering a mutable ref to immutable memory Turns out that this can actually happen -- thanks to `@matthiaskrgr` for producing a testcase. :) Fixes rust-lang#130392
Turns out that this can actually happen -- thanks to @matthiaskrgr for producing a testcase. :)
Fixes #130392