-
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 #120512
Rollup of 8 pull requests #120512
Commits on Jan 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c367983 - Browse repository at this point
Copy the full SHA c367983View commit details
Commits on Jan 30, 2024
-
limit the names_possiblilities to less than 3
Co-authored-by: Urgau <3616612+Urgau@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0213c87 - Browse repository at this point
Copy the full SHA 0213c87View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca243e7 - Browse repository at this point
Copy the full SHA ca243e7View commit details -
hir: Simplify
hir_owner_nodes
queryThe query accept arbitrary DefIds, not just owner DefIds. The return can be an `Option` because if there are no nodes, then it doesn't matter whether it's due to NonOwner or Phantom. Also rename the query to `opt_hir_owner_nodes`.
Configuration menu - View commit details
-
Copy full SHA for 64b6b5b - Browse repository at this point
Copy the full SHA 64b6b5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 667d5d3 - Browse repository at this point
Copy the full SHA 667d5d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for db41f4a - Browse repository at this point
Copy the full SHA db41f4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6b21e9 - Browse repository at this point
Copy the full SHA f6b21e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b2579a - Browse repository at this point
Copy the full SHA 0b2579aView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb0e8c5 - Browse repository at this point
Copy the full SHA cb0e8c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83e88c6 - Browse repository at this point
Copy the full SHA 83e88c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ef8362 - Browse repository at this point
Copy the full SHA 6ef8362View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5903142 - Browse repository at this point
Copy the full SHA 5903142View commit details -
check
RUST_BOOTSTRAP_CONFIG
inprofile_user_dist
testSigned-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for dfbbdda - Browse repository at this point
Copy the full SHA dfbbddaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75f670d - Browse repository at this point
Copy the full SHA 75f670dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 024364a - Browse repository at this point
Copy the full SHA 024364aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d34b0fa - Browse repository at this point
Copy the full SHA d34b0faView commit details -
Account for unbounded type param receiver in suggestions
When encountering ```rust fn f<T>(a: T, b: T) -> std::cmp::Ordering { a.cmp(&b) //~ ERROR E0599 } ``` output ``` error[E0599]: no method named `cmp` found for type parameter `T` in the current scope --> $DIR/method-on-unbounded-type-param.rs:2:7 | LL | fn f<T>(a: T, b: T) -> std::cmp::Ordering { | - method `cmp` not found for this type parameter LL | a.cmp(&b) | ^^^ method cannot be called on `T` due to unsatisfied trait bounds | = help: items from traits can only be used if the type parameter is bounded by the trait help: the following traits define an item `cmp`, perhaps you need to restrict type parameter `T` with one of them: | LL | fn f<T: Ord>(a: T, b: T) -> std::cmp::Ordering { | +++++ LL | fn f<T: Iterator>(a: T, b: T) -> std::cmp::Ordering { | ++++++++++ ``` Fix rust-lang#120186.
Configuration menu - View commit details
-
Copy full SHA for 20b1c2a - Browse repository at this point
Copy the full SHA 20b1c2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ccc770 - Browse repository at this point
Copy the full SHA 9ccc770View commit details -
Mark "unused binding" suggestion as maybe incorrect
Ignoring unused bindings should be a determination made by a human, `rustfix` shouldn't auto-apply the suggested change. Fix rust-lang#54196.
Configuration menu - View commit details
-
Copy full SHA for 8ebd47e - Browse repository at this point
Copy the full SHA 8ebd47eView commit details -
Rollup merge of rust-lang#120207 - onur-ozkan:120202-fix, r=clubby789
check `RUST_BOOTSTRAP_CONFIG` in `profile_user_dist` test Fixes a logical bug in `profile_user_dist` test (explained in rust-lang#120202).
Configuration menu - View commit details
-
Copy full SHA for bce474e - Browse repository at this point
Copy the full SHA bce474eView commit details -
Rollup merge of rust-lang#120321 - Nadrieril:cleanup-cx, r=compiler-e…
…rrors pattern_analysis: cleanup the contexts This cleans up a bit the various `*Ctxt`s I had left lying around. As a bonus this made it possible to make `PatternColumn` public. I don't have a use for that yet but that could come useful. `UsefulnessCtxt` looks useless right now but I'll be adding a field or two in subsequent PRs. r? ``@compiler-errors``
Configuration menu - View commit details
-
Copy full SHA for 045088d - Browse repository at this point
Copy the full SHA 045088dView commit details -
Rollup merge of rust-lang#120346 - petrochenkov:ownodes, r=oli-obk
hir: Refactor getters for owner nodes
Configuration menu - View commit details
-
Copy full SHA for 1e3860a - Browse repository at this point
Copy the full SHA 1e3860aView commit details -
Rollup merge of rust-lang#120396 - estebank:method-on-unbounded-type-…
…param, r=nnethercote Account for unbounded type param receiver in suggestions When encountering ```rust fn f<T>(a: T, b: T) -> std::cmp::Ordering { a.cmp(&b) //~ ERROR E0599 } ``` output ``` error[E0599]: no method named `cmp` found for type parameter `T` in the current scope --> $DIR/method-on-unbounded-type-param.rs:2:7 | LL | fn f<T>(a: T, b: T) -> std::cmp::Ordering { | - method `cmp` not found for this type parameter LL | a.cmp(&b) | ^^^ method cannot be called on `T` due to unsatisfied trait bounds | = help: items from traits can only be used if the type parameter is bounded by the trait help: the following traits define an item `cmp`, perhaps you need to restrict type parameter `T` with one of them: | LL | fn f<T: Ord>(a: T, b: T) -> std::cmp::Ordering { | +++++ LL | fn f<T: Iterator>(a: T, b: T) -> std::cmp::Ordering { | ++++++++++ ``` Fix rust-lang#120186.
Configuration menu - View commit details
-
Copy full SHA for 3edfd62 - Browse repository at this point
Copy the full SHA 3edfd62View commit details -
Rollup merge of rust-lang#120435 - chenyukang:yukang-fix-120427-cfg-n…
…ame, r=Urgau,Nilstrieb Suggest name value cfg when only value is used for check-cfg Fixes rust-lang#120427 r? ``@Nilstrieb``
Configuration menu - View commit details
-
Copy full SHA for 37ba7b1 - Browse repository at this point
Copy the full SHA 37ba7b1View commit details -
Rollup merge of rust-lang#120470 - estebank:issue-54196, r=compiler-e…
…rrors Mark "unused binding" suggestion as maybe incorrect Ignoring unused bindings should be a determination made by a human, `rustfix` shouldn't auto-apply the suggested change. Fix rust-lang#54196.
Configuration menu - View commit details
-
Copy full SHA for 5c8e7a2 - Browse repository at this point
Copy the full SHA 5c8e7a2View commit details -
Rollup merge of rust-lang#120495 - clubby789:remove-amdgpu-kernel, r=…
…oli-obk Remove the `abi_amdgpu_kernel` feature The tracking issue (rust-lang#51575) has been closed for 3 years, with no activity for 5.
Configuration menu - View commit details
-
Copy full SHA for dbb5a72 - Browse repository at this point
Copy the full SHA dbb5a72View commit details -
Rollup merge of rust-lang#120501 - GuillaumeGomez:glob-reexport-attr-…
…merge-bugfix, r=notriddle rustdoc: Correctly handle attribute merge if this is a glob reexport Fixes rust-lang#120487. The regression was introduced in rust-lang#113091. Only non-glob reexports should have been impacted. cc ``@Nemo157`` r? ``@notriddle``
Configuration menu - View commit details
-
Copy full SHA for 77b3b23 - Browse repository at this point
Copy the full SHA 77b3b23View commit details