Skip to content

Avoid some &str to String conversions with MultiSpan::push_span_label - #98668

Merged
bors merged 1 commit into
rust-lang:masterfrom
TaKO8Ki:avoid-many-&str-to-string-conversions
Jun 29, 2022
Merged

Avoid some &str to String conversions with MultiSpan::push_span_label#98668
bors merged 1 commit into
rust-lang:masterfrom
TaKO8Ki:avoid-many-&str-to-string-conversions

Conversation

@TaKO8Ki

Copy link
Copy Markdown
Member

This patch removes some&str to String conversions with MultiSpan::push_span_label.

@rustbotrustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 29, 2022
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @michaelwoerister

(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 Jun 29, 2022
@TaKO8KiTaKO8Ki changed the title Avoid some&str to String conversions with MultiSpan::push_span_labelAvoid some &str to String conversions with MultiSpan::push_span_labelJun 29, 2022
@Dylan-DPC

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Jun 29, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 6212e6b has been approved by Dylan-DPC

@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 Jun 29, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 29, 2022
…askrgr
Rollup of 10 pull requests
Successful merges:
- rust-lang#98434 (Ensure that `static_crt` is set in the bootstrapper whenever using `cc-rs` to get a compiler command line.)
- rust-lang#98636 (Triagebot: Fix mentions word wrapping.)
- rust-lang#98642 (Fixrust-lang#98260)
- rust-lang#98643 (Improve pretty printing of valtrees for references)
- rust-lang#98646 (rustdoc: fix bugs in main.js popover help and settings)
- rust-lang#98647 (Update cargo)
- rust-lang#98652 (`alloc`: clean and ensure `no_global_oom_handling` builds are warning-free)
- rust-lang#98660 (Unbreak stage1 tests via ignore-stage1 in `proc-macro/invalid-punct-ident-1.rs`.)
- rust-lang#98665 (Use verbose help for deprecation suggestion)
- rust-lang#98668 (Avoid some `&str` to `String` conversions with `MultiSpan::push_span_label`)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit d34c4ca into rust-lang:masterJun 29, 2022
@rustbotrustbot added this to the 1.64.0 milestone Jun 29, 2022
@TaKO8Ki
TaKO8Ki deleted the avoid-many-&str-to-string-conversions branch June 30, 2022 03:47
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Jul 25, 2022
…-conversions, r=michaelwoerister
Avoid `&str`/`Symbol` to `String` conversions
follow-up to rust-lang#99342 and rust-lang#98668
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Jul 26, 2022
…-conversions, r=michaelwoerister
Avoid `&str`/`Symbol` to `String` conversions
follow-up to rust-lang#99342 and rust-lang#98668
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Aug 1, 2022
…ions, r=fee1-dead
Avoid `Ty` to `String` conversions
follow-up to rust-lang#98668
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.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@TaKO8Ki@rust-highfive@Dylan-DPC@bors@michaelwoerister@rustbot