-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 6 pull requests #96398
Rollup of 6 pull requests #96398
Commits on Feb 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c186460 - Browse repository at this point
Copy the full SHA c186460View commit details
Commits on Apr 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3c1e166 - Browse repository at this point
Copy the full SHA 3c1e166View commit details
Commits on Apr 24, 2022
-
Better handle too many
#
recovery in raw strPoint at all the unnecessary trailing `#`. Better handle interaction with outer attributes when `;` is missing. Fix rust-lang#95030.
Configuration menu - View commit details
-
Copy full SHA for 3587406 - Browse repository at this point
Copy the full SHA 3587406View commit details -
Configuration menu - View commit details
-
Copy full SHA for dff7f25 - Browse repository at this point
Copy the full SHA dff7f25View commit details
Commits on Apr 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5165295 - Browse repository at this point
Copy the full SHA 5165295View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5594db0 - Browse repository at this point
Copy the full SHA 5594db0View commit details -
Rollup merge of rust-lang#90312 - r00ster91:search, r=Dylan-DPC
Fix some confusing wording and improve slice-search-related docs This adds more links between `contains` and `binary_search` because I do think they have some relevant connections. If your (big) slice happens to be sorted and you know it, surely you should be using `[3; 100].binary_search(&5).is_ok()` over `[3; 100].contains(&5)`? This also fixes the confusing "searches this sorted X" wording which just sounds really weird because it doesn't know whether it's actually sorted. It should be but it may not be. The new wording should make it clearer that you will probably want to sort it and in the same sentence it also mentions the related function `contains`. Similarly, this mentions `binary_search` on `contains`' docs. This also fixes some other minor stuff and inconsistencies.
Configuration menu - View commit details
-
Copy full SHA for 7a372e0 - Browse repository at this point
Copy the full SHA 7a372e0View commit details -
Rollup merge of rust-lang#96149 - est31:remove_unused_macro_matchers,…
… r=petrochenkov Remove unused macro rules Removes rules of internal macros that weren't triggered.
Configuration menu - View commit details
-
Copy full SHA for fcc18ff - Browse repository at this point
Copy the full SHA fcc18ffView commit details -
Rollup merge of rust-lang#96355 - estebank:issue-95030, r=compiler-er…
…rors Better handle too many `#` recovery in raw str Point at all the unnecessary trailing `#`. Better handle interaction with outer attributes when `;` is missing. Fix rust-lang#95030.
Configuration menu - View commit details
-
Copy full SHA for 9fe2d8a - Browse repository at this point
Copy the full SHA 9fe2d8aView commit details -
Rollup merge of rust-lang#96372 - compiler-errors:field-method-sugges…
…t, r=oli-obk Suggest calling method on nested field when struct is missing method Similar to the suggestion to change `x.field` to `x.nested.field`, implement a similar suggestion for when `x.method()` should be replaced with `x.nested.method()`.
Configuration menu - View commit details
-
Copy full SHA for aff1933 - Browse repository at this point
Copy the full SHA aff1933View commit details -
Rollup merge of rust-lang#96379 - PrestonFrom:issue_96335, r=compiler…
…-errors delay bug when adjusting `NeverToAny` twice during diagnostic code Addresses Issue 96335 (rust-lang#96335) by using `delay_span_bug` instead of an assert and returning an error type from `check_expr_meets_expectation_or_error`. Fixes rust-lang#96335
Configuration menu - View commit details
-
Copy full SHA for 0a869c3 - Browse repository at this point
Copy the full SHA 0a869c3View commit details -
Rollup merge of rust-lang#96384 - lcnr:extern-types-similar, r=compil…
…er-errors do not consider two extern types to be similar
Configuration menu - View commit details
-
Copy full SHA for 0f11c81 - Browse repository at this point
Copy the full SHA 0f11c81View commit details