Document rustc_middle::lint::LevelSource

This is to clarify the difference between `LevelSource`
and `LintLevelSource`.

Appease x.py fmt.
This commit is contained in:
pierwill 2020-12-21 14:40:50 -08:00
parent aec3575aa7
commit d3900d3775
2 changed files with 4 additions and 1 deletions

View file

@ -45,6 +45,7 @@ impl LintLevelSource {
}
}
/// A tuple of a lint level and its source.
pub type LevelSource = (Level, LintLevelSource);
pub struct LintLevelSets {