-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
treat ref-to-raw cast like a reborrow: do a special kind of retag #56741
Conversation
I like how everything is more explicit. So this PR lgtm, but without the corresponding miri-PR it's kind of hard to gauge the effect. I'm fine with just r+ing this PR, since I'm gonna see the changes to miri later, but we might end up having to cycle back to rustc changes (unlikely though). |
The corresponding miri PR is at rust-lang/miri#571 |
thx @bors r+ |
📌 Commit 73d33fb800e4baf909c84974075dd008da4194b4 has been approved by |
@bors r+ |
📌 Commit 97b17d7dfb6ad0f6d998b14fe11c0ef8f68db47f has been approved by |
97b17d7
to
29ef9d2
Compare
Sorry forgot to update the lockfile. @bors r=oli-obk |
📌 Commit 29ef9d2a7bf0e6386997065f60b96b28b55987c4 has been approved by |
29ef9d2
to
73d33fb
Compare
I removed the miri update for now because it's broken anyway. @bors r=oli-obk |
📌 Commit 73d33fb800e4baf909c84974075dd008da4194b4 has been approved by |
Rollup of 20 pull requests Successful merges: - #53506 (Documentation for impl From for AtomicBool and other Atomic types) - #56343 (Remove not used mod) - #56439 (Clearer error message for dead assign) - #56640 (Add FreeBSD unsigned char platforms to std::os::raw) - #56648 (Fix BTreeMap UB) - #56672 (Document time of back operations of a Linked List) - #56706 (Make `const unsafe fn` bodies `unsafe`) - #56742 (infer: remove Box from a returned Iterator) - #56761 (Suggest using `.display()` when trying to print a `Path`) - #56781 (Update LLVM submodule) - #56789 (rustc: Add an unstable `simd_select_bitmask` intrinsic) - #56790 (Make RValue::Discriminant a normal Shallow read) - #56793 (rustdoc: look for comments when scraping attributes/crates from doctests) - #56826 (rustc: Add the `cmpxchg16b` target feature on x86/x86_64) - #56832 (std: Use `rustc_demangle` from crates.io) - #56844 (Improve CSS rule) - #56850 (Fixed issue with using `Self` ctor in typedefs) - #56855 (Remove u8 cttz hack) - #56857 (Fix a small mistake regarding NaNs in a deprecation message) - #56858 (Fix doc of `std::fs::canonicalize`) Failed merges: - #56741 (treat ref-to-raw cast like a reborrow: do a special kind of retag) r? @ghost
☔ The latest upstream changes (presumably #56875) made this pull request unmergeable. Please resolve the merge conflicts. |
73d33fb
to
c1160a8
Compare
Rebased. @bors r=oli-obk |
📌 Commit c1160a8 has been approved by |
treat ref-to-raw cast like a reborrow: do a special kind of retag r? @oli-obk Cc @nikomatsakis
☀️ Test successful - status-appveyor, status-travis |
Tested on commit rust-lang/rust@4755e2f. Direct link to PR: <rust-lang/rust#56741> 💔 miri on windows: test-fail → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra). 💔 miri on linux: test-fail → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
r? @oli-obk
Cc @nikomatsakis