Skip to content

Rollup of 6 pull requests - #96398

Closed
compiler-errors wants to merge 12 commits into
rust-lang:masterfrom
compiler-errors:rollup-wktib0g
Closed

Rollup of 6 pull requests#96398
compiler-errors wants to merge 12 commits into
rust-lang:masterfrom
compiler-errors:rollup-wktib0g

Conversation

@compiler-errors

Copy link
Copy Markdown
Contributor

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

r00ster91and others added 12 commits February 19, 2022 17:29
Point at all the unnecessary trailing `#`.
Better handle interaction with outer attributes when `;` is missing.
Fixrust-lang#95030.
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.
… r=petrochenkov
Remove unused macro rules
Removes rules of internal macros that weren't triggered.
…rors
Better handle too many `#` recovery in raw str
Point at all the unnecessary trailing `#`.
Better handle interaction with outer attributes when `;` is missing.
Fixrust-lang#95030.
…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()`.
…-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`.
Fixesrust-lang#96335
…er-errors
do not consider two extern types to be similar
@rustbotrustbot added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Apr 25, 2022
@compiler-errors

Copy link
Copy Markdown
ContributorAuthor

@bors r+ rollup=never p=6

@bors

bors commented Apr 25, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 0f11c81 has been approved by compiler-errors

@borsbors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Apr 25, 2022
@bors

bors commented Apr 25, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 0f11c81 with merge c7d940da7f203588f1267f031b51662dfa92689a...

@bors

bors commented Apr 25, 2022

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 25, 2022
@compiler-errors

Copy link
Copy Markdown
ContributorAuthor

@bors retry

timeout in rustdoc test?

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 25, 2022
@rust-log-analyzer

This comment was marked as outdated.

@bors

bors commented Apr 25, 2022

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 0f11c81 with merge 5820f313904c378dbd8eee9b367da8e08ff7d18b...

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job x86_64-gnu-tools failed! Check out the build log: (web)(plain)

Click to see the possible cause of the failure (guessed by this bot)
.......... (60/62)
. (62/62)
/checkout/src/test/rustdoc-gui/escape-key.goml escape-key... FAILED
[ERROR] (line 6) TimeoutError: waiting for selector "#search h1" failed: timeout 30000ms exceeded: for command `wait-for: "#search h1" // The search element is empty before the first search `
Build completed unsuccessfully in 0:00:41

@bors

bors commented Apr 25, 2022

Copy link
Copy Markdown
Collaborator

💔 Test failed - checks-actions

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Apr 25, 2022
@compiler-errors
compiler-errors deleted the rollup-wktib0g branch August 11, 2023 20:17
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollupS-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@compiler-errors@bors@rust-log-analyzer@rustbot@est31@estebank@PrestonFrom@lcnr