]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #80935 - pierwill:rustc_middle-levelandsource, r=petrochenkov
authorDylan DPC <dylan.dpc@gmail.com>
Wed, 13 Jan 2021 02:20:27 +0000 (03:20 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Jan 2021 02:20:27 +0000 (03:20 +0100)
commit5b90fe1c3094050eecbb7be7440b398e98d0caa2
tree2b9d29804bf5a237f30c0d7ea6181a57dbe99dc5
parentc64d3f0afccc3a8d67eb1fd01b287b77192108b4
parent2e3ab43f5c3904ac1e0c1c430d76b343e194730c
Rollup merge of #80935 - pierwill:rustc_middle-levelandsource, r=petrochenkov

Rename `rustc_middle::lint::LevelSource` to `LevelAndSource`

This continues work in https://github.com/rust-lang/rust/pull/80274 to improve code readability.

This naming follows a pattern seen elsewhere in the compiler (e.g. [`rustc_middle::ty::TypeAndMut`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TypeAndMut.html)).