about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2023-06-29Auto merge of #113151 - RalfJung:miri, r=RalfJung,oli-obkbors-474/+3206
update Miri r? `@ghost`
2023-06-29Use a valid `target` directory in miri ui testsOli Scherer-0/+1
2023-06-29update lockfileRalf Jung-10/+2
2023-06-29Auto merge of #113134 - TaKO8Ki:rollup-4hvqzf6, r=TaKO8Kibors-56/+164
Rollup of 5 pull requests Successful merges: - #112946 (Improve cgu naming and ordering) - #113048 (Fix build on Solaris where fd-lock cannot be used.) - #113100 (Fix display of long items in search results) - #113107 (add check for ConstKind::Value(_) to in_operand()) - #113119 (rustdoc: Reduce internal function visibility.) r? `@ghost` `@rustbot` modify labels: rollup
2023-06-29Auto merge of #2946 - RalfJung:rustup, r=RalfJungbors-420/+434
Rustup
2023-06-29Merge from rustcRalf Jung-419/+433
2023-06-29Preparing for merge from rustcRalf Jung-1/+1
2023-06-29Auto merge of #113146 - matthiaskrgr:rollup-bxtr51e, r=matthiaskrgrbors-204/+569
Rollup of 7 pull requests Successful merges: - #112670 (privacy: Type privacy lints fixes and cleanups) - #112929 (Test that we require implementing trait items whose bounds don't hold in the current impl) - #113054 (Make `rustc_on_unimplemented` std-agnostic) - #113137 (don't suggest `move` for borrows that aren't closures) - #113139 (style-guide: Clarify let-else further) - #113140 (style-guide: Add an example of formatting a multi-line attribute) - #113143 (style-guide: Narrow guidance about references and dereferencing) r? `@ghost` `@rustbot` modify labels: rollup
2023-06-29Rollup merge of #113143 - ↵Matthias Krüger-1/+2
joshtriplett:style-guide-narrow-dereference-guidance, r=calebcartwright style-guide: Narrow guidance about references and dereferencing The style guide advises "prefer dereferencing to taking references", but doesn't give guidance on when that "preference" should get overridden by other considerations. Give an example of when it's fine to ignore that advice.
2023-06-29Rollup merge of #113140 - ↵Matthias Krüger-0/+5
joshtriplett:style-guide-example-multi-line-attribute, r=calebcartwright style-guide: Add an example of formatting a multi-line attribute We already say to format attributes like functions, but we didn't have an example of formatting a multi-line attribute.
2023-06-29Rollup merge of #113139 - joshtriplett:style-clarify-let-else, r=calebcartwrightMatthias Krüger-2/+24
style-guide: Clarify let-else further Give some additional examples with multi-line patterns. Make it clearer to go on to the next case if the conditions aren't met.
2023-06-29Rollup merge of #113137 - lukas-code:no-moving-references, r=compiler-errorsMatthias Krüger-13/+41
don't suggest `move` for borrows that aren't closures fixes https://github.com/rust-lang/rust/issues/113087
2023-06-29Rollup merge of #113054 - ↵Matthias Krüger-30/+60
Rageking8:make-`rustc_on_unimplemented`-std-agnostic, r=WaffleLapkin Make `rustc_on_unimplemented` std-agnostic See #112923 r? `@WaffleLapkin`
2023-06-29Rollup merge of #112929 - ↵Matthias Krüger-0/+182
oli-obk:what_if_an_impl_item_just_doesnt_wanna_be_impld, r=compiler-errors Test that we require implementing trait items whose bounds don't hold in the current impl I initially tried to make most of these pass, but that's a big can of worms, so I'm just adding them as tests, considering we have no tests for these things.
2023-06-29Rollup merge of #112670 - petrochenkov:typriv, r=eholkMatthias Krüger-158/+255
privacy: Type privacy lints fixes and cleanups See individual commits. Follow up to https://github.com/rust-lang/rust/pull/111801.
2023-06-28style-guide: Narrow guidance about references and dereferencingJosh Triplett-1/+2
The style guide advises "prefer dereferencing to taking references", but doesn't give guidance on when that "preference" should get overridden by other considerations. Give an example of when it's fine to ignore that advice.
2023-06-28Auto merge of #112629 - compiler-errors:atb-imply, r=jackh726bors-101/+142
Make associated type bounds in supertrait position implied `trait A: B<Assoc: C> {}` should be able to imply both `Self: B` and `<Self as B>::Assoc: C`. Adjust the way that we collect implied predicates to do so. Fixes #112573 Fixes #112568
2023-06-28style-guide: Add an example of formatting a multi-line attributeJosh Triplett-0/+5
We already say to format attributes like functions, but we didn't have an example of formatting a multi-line attribute.
2023-06-28don't suggest `move` for borrows that aren't closuresLukas Markeffsky-13/+41
2023-06-28syle-guide: Clarify let-else furtherJosh Triplett-2/+24
Give some additional examples with multi-line patterns. Make it clearer to go on to the next case if the conditions aren't met.
2023-06-28Auto merge of #2936 - Vanille-N:unique, r=RalfJungbors-39/+524
Optional semantics for `Unique` Use with `-Zmiri-unique-is-unique`, makes `core::ptr::Unique` get a reborrow with its own permissions.
2023-06-29Rollup merge of #113119 - aDotInTheVoid:reduce-viz, r=notriddleTakayuki Maeda-1/+1
rustdoc: Reduce internal function visibility. As suggested [here](https://github.com/rust-lang/rust/pull/112113/files/1862fcb1df05b116443ad3b27028616a180ffadb#r1211200570).
2023-06-29Rollup merge of #113107 - mj10021:issue-113012-fix, r=oli-obkTakayuki Maeda-4/+19
add check for ConstKind::Value(_) to in_operand() Added check for valtree value to close #113012 which fixes the issue, although I am not sure if adding the check there is sound or not cc `@oli-obk`
2023-06-29Rollup merge of #113100 - GuillaumeGomez:search-result-long-name, r=notriddleTakayuki Maeda-20/+66
Fix display of long items in search results Fixes https://github.com/rust-lang/rust/issues/113060. You can test the result [here](https://rustdoc.crud.net/imperio/search-result-long-name/lib2/index.html). To make it a bit better, I also reduced a bit the size of the short documentation from half to 2 fifth of the width. r? `@notriddle`
2023-06-29Rollup merge of #113048 - psumbera:solaris-bootstrap-cfgs, r=ozkanonurTakayuki Maeda-4/+6
Fix build on Solaris where fd-lock cannot be used. This fixes build regression after https://github.com/rust-lang/rust/commit/e7e584b7d9d4eba8b9655b255840ef9caf9b40c0. Resolves #113085
2023-06-29Rollup merge of #112946 - nnethercote:improve-cgu-naming-and-ordering, ↵Takayuki Maeda-27/+72
r=wesleywiser Improve cgu naming and ordering Some quality of life improvements when debugging and profiling CGU formation. r? `@wesleywiser`
2023-06-28Unique gets special treatment when -Zmiri-unique-is-uniqueNeven Villani-13/+486
2023-06-28Auto merge of #98867 - cjgillot:metaloop, r=oli-obkbors-284/+197
Refactor metadata emission to avoid visiting HIR This PR refactors metadata emission to be based on tables and iteration over definitions. In a first part, this PR moves information from the `EntryKind` enum to tables, until removing the `EntryKind` enum. In a second part, the iteration scheme is refactored to avoid fetching HIR unless strictly necessary. r? `@ghost`
2023-06-28Auto merge of #113120 - Dylan-DPC:rollup-cz4qr3o, r=Dylan-DPCbors-309/+230
Rollup of 6 pull requests Successful merges: - #111571 (Implement proposed API for `proc_macro_span`) - #112236 (Simplify computation of killed borrows) - #112867 (More `ImplSource` nits) - #113019 (add note for non-exhaustive matches with guards) - #113094 (Fix invalid HTML DIV tag used in HEAD) - #113111 (add myself to review for t-types stuff) r? `@ghost` `@rustbot` modify labels: rollup
2023-06-28Auto merge of #2945 - oli-obk:gha_mk_pr, r=RalfJungbors-1/+25
Try running a sync automatically absolutely no clue if this works, but it happens after the zulip message, so worst case we'll see the failure after the cron job did everything it currently does.
2023-06-28Try running a sync automaticallyOli Scherer-1/+25
2023-06-28Rollup merge of #113111 - BoxyUwU:boxy_t_types_review, r=compiler-errorsDylan DPC-0/+1
add myself to review for t-types stuff I think this is how the triagebot stuff works :sweat_smile: should mean that `r? types` can now assign me
2023-06-28Rollup merge of #113094 - GuillaumeGomez:fix-invalid-div-tag-in-head, ↵Dylan DPC-7/+5
r=notriddle,fmease Fix invalid HTML DIV tag used in HEAD Fixes https://github.com/rust-lang/rust/issues/113067. The issue also nicely explains the whole problem. r? ``@notriddle``
2023-06-28Rollup merge of #113019 - ericmarkmartin:warning-for-guard-non-exhaustion, ↵Dylan DPC-22/+66
r=fee1-dead add note for non-exhaustive matches with guards Associated issue: #92197 When a match statement includes guards on every match arm (and is therefore necessarily non-exhaustive), add a note to the error E0004 diagnostic noting this.
2023-06-28Rollup merge of #112867 - compiler-errors:more-impl-source-nits, r=lcnrDylan DPC-106/+47
More `ImplSource` nits Even more clean-ups, I'll put this up in parallel with the `select_in_new_trait_solver` PR. r? ``@lcnr``
2023-06-28Rollup merge of #112236 - cjgillot:interval-kill, r=davidtwcoDylan DPC-51/+43
Simplify computation of killed borrows Follow-up to https://github.com/rust-lang/rust/pull/111759 Processing the first block manually once makes the pre-order walk simpler.
2023-06-28Rollup merge of #111571 - jhpratt:proc-macro-span, r=m-ou-seDylan DPC-123/+68
Implement proposed API for `proc_macro_span` As proposed in [#54725 (comment)](https://github.com/rust-lang/rust/issues/54725#issuecomment-1546918161). I have omitted the byte-level API as it's already available as [`Span::byte_range`](https://doc.rust-lang.org/nightly/proc_macro/struct.Span.html#method.byte_range). `@rustbot` label +A-proc-macros r? `@m-ou-se`
2023-06-28rustdoc: Reduce internal function visibility.Alona Enraght-Moony-1/+1
As suggested in https://github.com/rust-lang/rust/pull/112113/files/1862fcb1df05b116443ad3b27028616a180ffadb#r1211200570.
2023-06-28remove FIXME and add testJames Dietz-2/+12
2023-06-28add check for ConstKind::Value(_)James Dietz-2/+7
2023-06-28Auto merge of #112708 - flip1995:clippy-freezing-pc-with-ice, r=oli-obkbors-9/+61
Avoid calling queries during query stack printing This has the side effect, that when Clippy should ICE (during an EarlyPass?) it will fill up the RAM with 2 GB/s and then freezes my Laptop. This is blocking the Clippy sync and might give some people really bad experiences, so this should be merged ASAP. r? `@cjgillot` cc `@Zoxc` I only commented this on [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/.60try_print_query_stack.60.20has.20.60ImplicitCtx.60.20during.20.60EarlyPass.60/near/363926180). I should've left a comment on the PR as well. My bad.
2023-06-28Update GUI testsGuillaume Gomez-11/+37
2023-06-28Fix display of long items in search resultsGuillaume Gomez-9/+29
2023-06-28Auto merge of #2944 - oli-obk:rustup, r=oli-obkbors-2739/+4491
Rustup
2023-06-28fmtOli Scherer-2/+2
2023-06-28Rustdoc nit: refer to macro from docsOli Scherer-1/+1
2023-06-28Merge from rustcOli Scherer-2738/+4490
2023-06-28Preparing for merge from rustcOli Scherer-1/+1
2023-06-28remove cruftEric Mark Martin-1/+0
2023-06-28use translatable subdiagnosticEric Mark Martin-1/+9