Skip to content

Rename rustc_middle::lint::LevelSource to LevelAndSource - #80935

Merged
bors merged 1 commit into
rust-lang:masterfrom
pierwill:rustc_middle-levelandsource
Jan 13, 2021
Merged

Rename rustc_middle::lint::LevelSource to LevelAndSource#80935
bors merged 1 commit into
rust-lang:masterfrom
pierwill:rustc_middle-levelandsource

Conversation

@pierwill

Copy link
Copy Markdown
Contributor

This continues work in #80274 to improve code readability.

This naming follows a pattern seen elsewhere in the compiler (e.g. rustc_middle::ty::TypeAndMut).

@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 12, 2021
@petrochenkov

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Jan 12, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 2e3ab43 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 12, 2021
@jyn514jyn514 added C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 12, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 13, 2021
Rollup of 10 pull requests
Successful merges:
- rust-lang#78901 (diagnostics: Note capturing closures can't be coerced to fns)
- rust-lang#79588 (Provide more information for HRTB lifetime errors involving closures)
- rust-lang#80232 (Remove redundant def_id lookups)
- rust-lang#80662 (Added support for i386-unknown-linux-gnu and i486-unknown-linux-gnu)
- rust-lang#80736 (use Once instead of Mutex to manage capture resolution)
- rust-lang#80796 (Update to LLVM 11.0.1)
- rust-lang#80859 (Fix --pretty=expanded with --remap-path-prefix)
- rust-lang#80922 (Revert "Auto merge of rust-lang#76896 - spastorino:codegen-inline-fns2)
- rust-lang#80924 (Fix rustdoc --test-builder argument parsing)
- rust-lang#80935 (Rename `rustc_middle::lint::LevelSource` to `LevelAndSource`)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 5b90fe1 into rust-lang:masterJan 13, 2021
@rustbotrustbot added this to the 1.51.0 milestone Jan 13, 2021
@pierwill
pierwill deleted the rustc_middle-levelandsource branch January 14, 2021 20:07
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-cleanupCategory: PRs that clean code up or issues documenting cleanup.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

@pierwill@rust-highfive@petrochenkov@bors@jyn514@rustbot