-
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
Rollup of 8 pull requests #102948
Rollup of 8 pull requests #102948
Commits on Sep 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 72b3347 - Browse repository at this point
Copy the full SHA 72b3347View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29cc36f - Browse repository at this point
Copy the full SHA 29cc36fView commit details
Commits on Sep 24, 2022
-
Move style guide to rust-lang/rust
Per [RFC 3309](https://rust-lang.github.io/rfcs/3309-style-team.html).
Configuration menu - View commit details
-
Copy full SHA for 39484ac - Browse repository at this point
Copy the full SHA 39484acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a9e827 - Browse repository at this point
Copy the full SHA 9a9e827View commit details -
Configuration menu - View commit details
-
Copy full SHA for 283c0e4 - Browse repository at this point
Copy the full SHA 283c0e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a72a66 - Browse repository at this point
Copy the full SHA 9a72a66View commit details
Commits on Oct 2, 2022
-
always panic for invalid integer logarithm
Lukas Markeffsky committedOct 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 69cafc0 - Browse repository at this point
Copy the full SHA 69cafc0View commit details -
add tests for panicking integer logarithms
Lukas Markeffsky committedOct 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 6acc29f - Browse repository at this point
Copy the full SHA 6acc29fView commit details -
Lukas Markeffsky committed
Oct 2, 2022 Configuration menu - View commit details
-
Copy full SHA for b7dae8a - Browse repository at this point
Copy the full SHA b7dae8aView commit details
Commits on Oct 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bde80f7 - Browse repository at this point
Copy the full SHA bde80f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f74d1d - Browse repository at this point
Copy the full SHA 2f74d1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17a4a68 - Browse repository at this point
Copy the full SHA 17a4a68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0315d7c - Browse repository at this point
Copy the full SHA 0315d7cView commit details -
Migrate InvalidAttrAtCrateLevel
Co-authored-by: Nathan Stocks <[email protected]> Co-authored-by: rdvdev2 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c3351c - Browse repository at this point
Copy the full SHA 2c3351cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c24a873 - Browse repository at this point
Copy the full SHA c24a873View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8e03cf - Browse repository at this point
Copy the full SHA b8e03cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1222541 - Browse repository at this point
Copy the full SHA 1222541View commit details -
Configuration menu - View commit details
-
Copy full SHA for c103c30 - Browse repository at this point
Copy the full SHA c103c30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e86226 - Browse repository at this point
Copy the full SHA 1e86226View commit details -
errors: add
emit_note
/create_note
Add `Noted` marker struct that implements `EmissionGuarantee` so that `emit_note` and `create_note` can be implemented for struct diagnostics. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f8ebc72 - Browse repository at this point
Copy the full SHA f8ebc72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a74833 - Browse repository at this point
Copy the full SHA 3a74833View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0609c0f - Browse repository at this point
Copy the full SHA 0609c0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40d5f00 - Browse repository at this point
Copy the full SHA 40d5f00View commit details -
Configuration menu - View commit details
-
Copy full SHA for c457abe - Browse repository at this point
Copy the full SHA c457abeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 572f341 - Browse repository at this point
Copy the full SHA 572f341View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69766e4 - Browse repository at this point
Copy the full SHA 69766e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96f92ea - Browse repository at this point
Copy the full SHA 96f92eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b17ec43 - Browse repository at this point
Copy the full SHA b17ec43View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0afb88 - Browse repository at this point
Copy the full SHA f0afb88View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7aa185 - Browse repository at this point
Copy the full SHA a7aa185View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe8e00 - Browse repository at this point
Copy the full SHA 3fe8e00View commit details -
Configuration menu - View commit details
-
Copy full SHA for be4059d - Browse repository at this point
Copy the full SHA be4059dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 965dbf6 - Browse repository at this point
Copy the full SHA 965dbf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e07a85 - Browse repository at this point
Copy the full SHA 8e07a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57eba4f - Browse repository at this point
Copy the full SHA 57eba4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31c269a - Browse repository at this point
Copy the full SHA 31c269aView commit details
Commits on Oct 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b9e4a1c - Browse repository at this point
Copy the full SHA b9e4a1cView commit details
Commits on Oct 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 50e2795 - Browse repository at this point
Copy the full SHA 50e2795View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ef1c03 - Browse repository at this point
Copy the full SHA 5ef1c03View commit details -
Configuration menu - View commit details
-
Copy full SHA for d933092 - Browse repository at this point
Copy the full SHA d933092View commit details
Commits on Oct 11, 2022
-
rustdoc: remove unused classes from sidebar
Since 98f05a0 removed separate colors from the currently-selected item, there's no need to have item classes on sidebar links.
Configuration menu - View commit details
-
Copy full SHA for b5963f0 - Browse repository at this point
Copy the full SHA b5963f0View commit details -
rustdoc: remove unneeded
.content
selector from link colorsSince 98f05a0 and b5963f0 removed color classes from sidebar items, there's no need for the selectors to be so specific any more. This commit does have to change `h1.fqn a` to just be `h1 a`, so that the header link color selector is less specific than the typed link at the end. Since rust-lang#89506 made docblocks start at `h2`, the main page link header should be the only h1 in the page now.
Configuration menu - View commit details
-
Copy full SHA for 062284a - Browse repository at this point
Copy the full SHA 062284aView commit details
Commits on Oct 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a7f58af - Browse repository at this point
Copy the full SHA a7f58afView commit details -
Rollup merge of rust-lang#102110 - CleanCut:migrate_rustc_passes_diag…
…nostics, r=davidtwco Migrate rustc_passes diagnostics Picks up abandoned work from rust-lang#100870 I would like to do this collaboratively, as there is a lot of work! Here's the process: - Comment below that you are willing to help and I will add you as a collaborator to my `rust` fork (that gives you write access) - Indicate which file/task you would like to work on (so we don't duplicate work) from the list below - Do the work, push up a commit, comment that you're done with that file/task - Repeat until done 😄 ### Files to Migrate (in `compiler/rustc_passes/src/`) - [x] check_attr.rs ``@CleanCut`` - [x] check_const.rs ``@CleanCut`` - [x] dead.rs ``@CleanCut`` - [x] debugger_visualizer.rs ``@CleanCut`` - [x] diagnostic_items.rs ``@CleanCut`` - [x] entry.rs ``@CleanCut`` - [x] lang_items.rs ``@CleanCut`` - [x] layout_test.rs ``@CleanCut`` - [x] lib_features.rs ``@CleanCut`` - [x] ~liveness.rs~ ``@CleanCut`` Nothing to do - [x] loops.rs ``@CleanCut`` - [x] naked_functions.rs ``@CleanCut`` - [x] stability.rs ``@CleanCut`` - [x] weak_lang_items.rs ``@CleanCut`` ### Tasks - [x] Rebase on current `master` ``@CleanCut`` - [x] Review work from [the earlier PR](rust-lang#100870) and make sure it all looks good - [x] compiler/rustc_error_messages/locales/en-US/passes.ftl ``@CleanCut`` - [x] compiler/rustc_passes/src/check_attr.rs ``@CleanCut`` - [x] compiler/rustc_passes/src/errors.rs ``@CleanCut`` - [x] compiler/rustc_passes/src/lang_items.rs ``@CleanCut`` - [x] compiler/rustc_passes/src/lib.rs ``@CleanCut`` - [x] compiler/rustc_passes/src/weak_lang_items.rs ``@CleanCut``
Configuration menu - View commit details
-
Copy full SHA for 32471a7 - Browse repository at this point
Copy the full SHA 32471a7View commit details -
Rollup merge of rust-lang#102187 - b-naber:inline-const-source-info, …
…r=eholk Use correct location for type tests in promoted constants Previously we forgot to remap the location in a type test collected when visiting the body of a promoted constant back to the usage location, causing an ICE when trying to get span information for that type test. Fixes rust-lang#102117
Configuration menu - View commit details
-
Copy full SHA for 5e04567 - Browse repository at this point
Copy the full SHA 5e04567View commit details -
Rollup merge of rust-lang#102239 - joshtriplett:style-guide, r=calebc…
…artwright Move style guide to rust-lang/rust Per [RFC 3309](https://rust-lang.github.io/rfcs/3309-style-team.html).
Configuration menu - View commit details
-
Copy full SHA for f8723f9 - Browse repository at this point
Copy the full SHA f8723f9View commit details -
Rollup merge of rust-lang#102578 - lukas-code:ilog-panic, r=m-ou-se
Panic for invalid arguments of `{integer primitive}::ilog{,2,10}` in all modes Decision made in rust-lang#100422 (comment) resolves rust-lang#100422 tracking issue: rust-lang#70887 r? `@m-ou-se`
Configuration menu - View commit details
-
Copy full SHA for d8091f8 - Browse repository at this point
Copy the full SHA d8091f8View commit details -
Rollup merge of rust-lang#102811 - the8472:bufread-memset, r=m-ou-se
Use memset to initialize readbuf The write loop was found to be slow in rust-lang#102727 The proper fix is in rust-lang#102760 but this might still help debug builds and code running under miri by using the write_bytes intrinsic instead of writing one byte at a time.
Configuration menu - View commit details
-
Copy full SHA for 658169b - Browse repository at this point
Copy the full SHA 658169bView commit details -
Rollup merge of rust-lang#102890 - camsteffen:adt-sized-representabil…
…ity, r=cjgillot Check representability in adt_sized_constraint Now that representability is a query, we can use it to preemptively avoid a cycle in `adt_sized_constraint`. I moved the representability check into `check_mod_type_wf` to avoid a scenario where rustc quits before checking all the types for representability. This also removes the check from rustdoc, which is alright AFAIK. r? ``@cjgillot``
Configuration menu - View commit details
-
Copy full SHA for c8a8e7d - Browse repository at this point
Copy the full SHA c8a8e7dView commit details -
Rollup merge of rust-lang#102913 - SparrowLii:import-candidate, r=com…
…piler-errors unify `IsPattern` and `IsImport` enum in `show_candidates` Follow-up of rust-lang#102876 A binding cannot appear in both pattern and import at the same time, so it makes sense to unify them r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for 252ce10 - Browse repository at this point
Copy the full SHA 252ce10View commit details -
Rollup merge of rust-lang#102924 - notriddle:notriddle/sidebar-link-c…
…lass, r=GuillaumeGomez rustdoc: remove unused classes from sidebar links Since rust-lang@98f05a0 removed separate colors from the currently-selected item, there's no need to have item classes on sidebar links. Preview: https://notriddle.com/notriddle-rustdoc-demos/sidebar-link-class/std/vec/struct.Vec.html While cleaning up the CSS to remove unneeded `.content` selectors, this PR changes the `h1.fqn a` CSS selector to just be `h1 a`, so that the header link color selector is less specific than the typed link at the end. Since rust-lang#89506 made docblocks start at `h2`, the main page link header should be the only h1 in the page now.
Configuration menu - View commit details
-
Copy full SHA for 96bcced - Browse repository at this point
Copy the full SHA 96bccedView commit details