1
Fork 0

Querify unused trait check.

This commit is contained in:
Camille GILLOT 2022-01-30 17:14:54 +01:00
parent c4083faade
commit a4a5e5b4ae
4 changed files with 15 additions and 5 deletions

View file

@ -898,6 +898,10 @@ rustc_queries! {
desc { |tcx| "linting {}", describe_as_module(key, tcx) }
}
query check_unused_traits(_: ()) -> () {
desc { "checking unused trait imports in crate" }
}
/// Checks the attributes in the module.
query check_mod_attrs(key: LocalDefId) -> () {
desc { |tcx| "checking attributes in {}", describe_as_module(key, tcx) }