Skip to content

Use correct span for structured suggestion - #80801

Merged
bors merged 1 commit into
rust-lang:masterfrom
estebank:correct-binding-sugg-span
Jan 10, 2021
Merged

Use correct span for structured suggestion#80801
bors merged 1 commit into
rust-lang:masterfrom
estebank:correct-binding-sugg-span

Conversation

@estebank

Copy link
Copy Markdown
Contributor

On structured suggestion for let -> const and const -> let, use
a proper Span and update tests to check the correct application.

Follow up to #80012.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @petrochenkov

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 8, 2021
On structured suggestion for `let` -> `const` and `const` -> `let`, use
a proper `Span` and update tests to check the correct application.
Follow up to rust-lang#80012.
@estebank
estebankforce-pushed the correct-binding-sugg-span branch from 98f9bd4 to 9a5dcaaCompareJanuary 8, 2021 00:54
@petrochenkov

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Jan 9, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 9a5dcaa has been approved by petrochenkov

@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 Jan 9, 2021
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Jan 10, 2021
… r=petrochenkov
Use correct span for structured suggestion
On structured suggestion for `let` -> `const` and `const` -> `let`, use
a proper `Span` and update tests to check the correct application.
Follow up to rust-lang#80012.
This was referenced Jan 10, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 10, 2021
Rollup of 9 pull requests
Successful merges:
- rust-lang#79502 (Implement From<char> for u64 and u128.)
- rust-lang#79968 (Improve core::ptr::drop_in_place debuginfo)
- rust-lang#80774 (Fix safety comment)
- rust-lang#80801 (Use correct span for structured suggestion)
- rust-lang#80803 (Remove useless `fill_in` function)
- rust-lang#80820 (Support `download-ci-llvm` on NixOS)
- rust-lang#80825 (Remove under-used ImplPolarity enum)
- rust-lang#80850 (Allow #[rustc_builtin_macro = "name"])
- rust-lang#80857 (Add comment to `Vec::truncate` explaining `>` vs `>=`)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 700f3f2 into rust-lang:masterJan 10, 2021
@rustbotrustbot added this to the 1.51.0 milestone Jan 10, 2021
@estebank
estebank deleted the correct-binding-sugg-span branch November 9, 2023 05:15
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@estebank@rust-highfive@petrochenkov@bors@rustbot