-
Notifications
You must be signed in to change notification settings - Fork 13.4k
improve PassMode docs #115654
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
improve PassMode docs #115654
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
☔ The latest upstream changes (presumably #115372) made this pull request unmergeable. Please resolve the merge conflicts. |
Is it correct that I found some cases where mips64 produces |
c9e3096
to
d1c8f66
Compare
I've added an assertion against unsized casts. |
d1c8f66
to
487ec0f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bc307ff
to
62287ab
Compare
|
Wait, it's possible to pass |
Turns out yes, that is possible: #115709. This PR will make that code ICE. But I think that's fine, it shouldn't have built in the first place... |
62287ab
to
3ee65c2
Compare
Agreed @bors r+ |
Rollup of 6 pull requests Successful merges: - rust-lang#114965 (Remove Drop impl of mpsc Receiver and (Sync)Sender) - rust-lang#115434 (make `Debug` impl for `ascii::Char` match that of `char`) - rust-lang#115477 (Stabilize the `Saturating` type) - rust-lang#115611 (add diagnostic for raw identifiers in format string) - rust-lang#115654 (improve PassMode docs) - rust-lang#115862 (Migrate `compiler/rustc_hir_typeck/src/callee.rs` to translatable diagnostics) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#115654 - RalfJung:pass-mode-cast, r=compiler-errors improve PassMode docs
No description provided.