-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Rollup of 7 pull requests #68739
Rollup of 7 pull requests #68739
Conversation
On the backend, rustdoc now emits `paths` entries to a crate's search index for struct-like enum variants, and index items of type structfield which belong to such variants point to their variant parents in the `paths` table, rather than their enum grandparents. The path entry for a variant is the fully qualified module path plus the enum name. On the frontend, the search code recognizes structfields belonging to structlike variants in the `paths` table and re-constructs the URL to the field's anchor on the enum documentation page. closes rust-lang#16017
rustc is now using rustfmt, not the old formatter.
…mulacrum Use BufWriter for emitting MIR I noticed that `--emit=mir` takes long time on a large crate. rust-lang#64344 seem to have fixed `-Zdump-mir`, but not `--emit=mir`.
…-search, r=kinnison Struct variant field search Fixes rust-lang#16017. Reopening of rust-lang#64724. cc @tomjakubowski cc @ollie27 r? @kinnison
…if-on-nightly, r=centril [docs] remind bug reporters to update nightly Hi and thanks for rust! Today I reported a bug in nightly that was already fixed, so I thought other potential bug reporters might appreciate a reminder to update before reporting. I wasn't sure if this would apply for other channels as well.
…=Mark-Simulacrum Ignore `build` dir formatting I've noticed that rustfmt tries to parse and check the formatting of code in `build` if `.git` is missing (which includes test artifacts and generated code). This should fix that.
Added upper bound of what vecs and boxes can allocate Fixed issue rust-lang#68593 I added a line of documentation to these two files to reflect that vectors and boxes ensure that they never allocate more than `isize::MAX` bytes. r? @steveklabnik
…inter-in-format-tests, r=jonas-schievink Remove a comment about pretty printer in formatting tests rustc is now using rustfmt, not the old formatter.
pretty: print attrs in struct expr Fixes rust-lang#68710 by printing the attributes on struct expression fields. r? @petrochenkov cc @dtolnay
@bors r+ rollup=never p=7 |
📌 Commit 0bb7bd4 has been approved by |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
CI has failure as same as #68737, so closing. |
😏 |
Successful merges:
build
dir formatting #68704 (Ignorebuild
dir formatting)Failed merges:
r? @ghost