-
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
Rollup of 9 pull requests #129632
Rollup of 9 pull requests #129632
Commits on Jul 25, 2024
-
create a new section on pointer to reference conversion
also start deduplicating the docs that are getting moved to this section.
Configuration menu - View commit details
-
Copy full SHA for 7643ea5 - Browse repository at this point
Copy the full SHA 7643ea5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1073f97 - Browse repository at this point
Copy the full SHA 1073f97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3877a7b - Browse repository at this point
Copy the full SHA 3877a7bView commit details
Commits on Aug 15, 2024
-
Add
warn(unreachable_pub)
to several crates.It requires no additonal changes to these crates, but will prevent unnecessary `pub`s in the future.
Configuration menu - View commit details
-
Copy full SHA for 1944894 - Browse repository at this point
Copy the full SHA 1944894View commit details -
Configuration menu - View commit details
-
Copy full SHA for f839309 - Browse repository at this point
Copy the full SHA f839309View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea014b4 - Browse repository at this point
Copy the full SHA ea014b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6b2880 - Browse repository at this point
Copy the full SHA a6b2880View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2fc87d - Browse repository at this point
Copy the full SHA f2fc87dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6614165 - Browse repository at this point
Copy the full SHA 6614165View commit details -
Don't add
warn(unreachable_pub)
torustc_baked_icu
.But explain why.
Configuration menu - View commit details
-
Copy full SHA for cb3f435 - Browse repository at this point
Copy the full SHA cb3f435View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0685c97 - Browse repository at this point
Copy the full SHA 0685c97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0544d3a - Browse repository at this point
Copy the full SHA 0544d3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6162743 - Browse repository at this point
Copy the full SHA 6162743View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc84442 - Browse repository at this point
Copy the full SHA cc84442View commit details
Commits on Aug 22, 2024
-
Deduplicate Spans in Uninitialized Check
Prevents reporting labels or diagnostics on spans that are produced multiple times.
Configuration menu - View commit details
-
Copy full SHA for e91f328 - Browse repository at this point
Copy the full SHA e91f328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 988bc1c - Browse repository at this point
Copy the full SHA 988bc1cView commit details
Commits on Aug 23, 2024
-
document & impl the transmutation modeled by
BikeshedIntrinsicFrom
Documents that `BikeshedIntrinsicFrom` models transmute-via-union, which is slightly more expressive than the transmute-via-cast implemented by `transmute_copy`. Additionally, we provide an implementation of transmute-via-union as a method on the `BikeshedIntrinsicFrom` trait with additional documentation on the boundary between trait invariants and caller obligations. Whether or not transmute-via-union is the right kind of transmute to model remains up for discussion [1]. Regardless, it seems wise to document the present behavior. [1] https://rust-lang.zulipchat.com/#narrow/stream/216762-project-safe-transmute/topic/What.20'kind'.20of.20transmute.20to.20model.3F/near/426331967
Configuration menu - View commit details
-
Copy full SHA for 2540070 - Browse repository at this point
Copy the full SHA 2540070View commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b581fed - Browse repository at this point
Copy the full SHA b581fedView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca6be74 - Browse repository at this point
Copy the full SHA ca6be74View commit details
Commits on Aug 26, 2024
-
Do not ICE on non-ADT rcvr type when looking for crate version collision
When looking for multiple versions of the same crate, do not blindly construct the receiver type. Follow up to rust-lang#128786. Fix rust-lang#129205.
Configuration menu - View commit details
-
Copy full SHA for 00c435d - Browse repository at this point
Copy the full SHA 00c435dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a088d9 - Browse repository at this point
Copy the full SHA 4a088d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b11e0a8 - Browse repository at this point
Copy the full SHA b11e0a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e15554 - Browse repository at this point
Copy the full SHA 4e15554View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4d3fa4 - Browse repository at this point
Copy the full SHA b4d3fa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db1d2e - Browse repository at this point
Copy the full SHA 2db1d2eView commit details -
Rollup merge of rust-lang#126013 - nnethercote:unreachable_pub, r=Urgau
Add `#[warn(unreachable_pub)]` to a bunch of compiler crates By default `unreachable_pub` identifies things that need not be `pub` and tells you to make them `pub(crate)`. But sometimes those things don't need any kind of visibility. So they way I did these was to remove the visibility entirely for each thing the lint identifies, and then add `pub(crate)` back in everywhere the compiler said it was necessary. (Or occasionally `pub(super)` when context suggested that was appropriate.) Tedious, but results in more `pub` removal. There are plenty more crates to do but this seems like enough for a first PR. r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for 110c3df - Browse repository at this point
Copy the full SHA 110c3dfView commit details -
Rollup merge of rust-lang#128157 - lolbinarycat:unify-ptr-ref-docs, r…
…=cuviper deduplicate and clarify rules for converting pointers to references part of rust-lang#124669
Configuration menu - View commit details
-
Copy full SHA for c6ceb5b - Browse repository at this point
Copy the full SHA c6ceb5bView commit details -
Rollup merge of rust-lang#129032 - jswrenn:transmute-method, r=compil…
…er-errors Document & implement the transmutation modeled by `BikeshedIntrinsicFrom` Documents that `BikeshedIntrinsicFrom` models transmute-via-union, which is slightly more expressive than the transmute-via-cast implemented by `transmute_copy`. Additionally, we provide an implementation of transmute-via-union as a method on the `BikeshedIntrinsicFrom` trait with additional documentation on the boundary between trait invariants and caller obligations. Whether or not transmute-via-union is the right kind of transmute to model remains up for discussion [1]. Regardless, it seems wise to document the present behavior. [1] https://rust-lang.zulipchat.com/#narrow/stream/216762-project-safe-transmute/topic/What.20'kind'.20of.20transmute.20to.20model.3F/near/426331967 Tracking Issue: rust-lang#99571 r? `@compiler-errors` cc `@scottmcm,` `@Lokathor`
Configuration menu - View commit details
-
Copy full SHA for 29923b6 - Browse repository at this point
Copy the full SHA 29923b6View commit details -
Rollup merge of rust-lang#129250 - estebank:issue-129205, r=compiler-…
…errors Do not ICE on non-ADT rcvr type when looking for crate version collision When looking for multiple versions of the same crate, do not blindly construct the receiver type. Follow up to rust-lang#128786. Fixes rust-lang#129205 Fixes rust-lang#129216
Configuration menu - View commit details
-
Copy full SHA for d4d4b6b - Browse repository at this point
Copy the full SHA d4d4b6bView commit details -
Rollup merge of rust-lang#129340 - stephen-lazaro:u/slazaro/issue-129…
…274, r=compiler-errors Remove Duplicate E0381 Label Aims to resolve rust-lang#129274, and adds a test for the case. Essentially, we are duplicating this span for some reason. For now, I'm just using a set to collect the spans rather than the vec. I imagine there's probably no real reason to inspect duplicates in this area, but if I'm wrong I can adjust to collect "seen spans" in just the point where this label is applied. I'm not sure why it's producing duplicate spans. Looks like this has been this way for a while? I think it gives the duplicate label on 1.75.0 for example.
Configuration menu - View commit details
-
Copy full SHA for 53f5294 - Browse repository at this point
Copy the full SHA 53f5294View commit details -
Rollup merge of rust-lang#129560 - GuillaumeGomez:impl-assoc-type-sou…
…rce-link, r=notriddle [rustdoc] Generate source link on impl associated types Currently, impl associated types are generated but don't get a source link. This PR fixes that. Before: ![image](https://github.com/user-attachments/assets/3a22adb5-8b66-4124-9267-7c26eed1aa5e) After: ![Screenshot from 2024-08-25 16-31-36](https://github.com/user-attachments/assets/6e9b35e7-4357-4ecf-8c49-1d8294051283) r? `@notriddle`
Configuration menu - View commit details
-
Copy full SHA for 862b911 - Browse repository at this point
Copy the full SHA 862b911View commit details -
Rollup merge of rust-lang#129622 - bjorn3:less_unstable, r=lqd
Remove a couple of unused feature enables
Configuration menu - View commit details
-
Copy full SHA for 90a1b6d - Browse repository at this point
Copy the full SHA 90a1b6dView commit details -
Rollup merge of rust-lang#129625 - compiler-errors:generic-args-mode,…
… r=fmease Rename `ParenthesizedGenericArgs` to `GenericArgsMode` A bit easier to digest name. Broken out of a PR implementing return type notation.
Configuration menu - View commit details
-
Copy full SHA for 3d8d9da - Browse repository at this point
Copy the full SHA 3d8d9daView commit details -
Rollup merge of rust-lang#129626 - compiler-errors:explicit-named, r=…
…fmease Remove `ParamMode::ExplicitNamed` This was introduced as a hack to improve a diagnostics suggestion in rust-lang#61679. It was subsequently broken, but also it was an incomplete hack that I don't believe we need to support, so let's just remove it.
Configuration menu - View commit details
-
Copy full SHA for b3b6baf - Browse repository at this point
Copy the full SHA b3b6bafView commit details