-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
visit enum init when the enum variable doesn't have any parameters #102984
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nagisa (or someone else) soon. Please see the contribution instructions for more information. |
This comment has been minimized.
This comment has been minimized.
3dd7ff2
to
b31086a
Compare
Is this a duplicate of #102062? Which one of these is the preferred fix? |
As I noted on #102062, I feel like this logic overlaps very heavily with |
There is no respond for #102062 since a long time ago. |
@lyming2007 in the future, you can just update the older PR with a new approach. If it has been a long time since it was reviewed, then please ping the reviewer. I will close the older one since they achieve the same purpose. |
Thank you for the suggestion. I will do that in the future |
☔ The latest upstream changes (presumably #103310) made this pull request unmergeable. Please resolve the merge conflicts. |
Co-authored-by: Ralf Jung <post@ralfj.de>
Rough timeline: * The longer `.content .item-info` selector originated in 110e727. No reason seems to be given in the PR why it needed the `.content` part, but it was probably added because of <https://github.com/rust-lang/rust/blob/110e7270ab7b0700ce714b8b1c7e509195dea2c4/src/librustdoc/html/static/rustdoc.css#L476-L478>. That selector with the margin-bottom was removed when CSS containment was added in 8846c08. * `.stability` was renamed `.item-info` in caf6c57. * The selector without the `.content` was added in d48a39a.
…errors This way we comply with the Coherence rule given that IntoDiagnostic trait is defined in rustc_errors, and almost all other crates depend on it.
…s input vs output
io_safety was stabilized in Rust 1.63, so mark the io_safety exports in `std::os::wasi::io` as stable. Fixes rust-lang#103306.
This commit changes things so that the search bar is exactly centered between the top of the page and the top of the source code content area.
A change occurred in the Ayu theme. cc @Cldfire Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
Some changes occurred in need_type_info.rs cc @lcnr Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri Some changes occurred in src/tools/cargo cc @ehuss This PR changes MIR cc @oli-obk, @RalfJung, @JakobDegen, @davidtwco, @celinval, @vakaras
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki The Miri subtree was changed cc @rust-lang/miri Some changes occurred in src/tools/clippy cc @rust-lang/clippy Some changes occurred in compiler/rustc_codegen_cranelift cc @bjorn3
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki Some changes occurred in HTML/CSS themes.
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha Some changes occurred in src/librustdoc/clean/types.rs cc @camelid Some changes occurred in compiler/rustc_codegen_gcc cc @antoyo Some changes occurred in const_evaluatable.rs cc @lcnr Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri |
@lyming2007 you did the rebase incorrectly. I think you need to do:
where |
|
this PR was broken by me obviously |
this will fix #101208