resolve: don't unused_qualifications
-check global paths
#38817
Merged
unused_qualifications
-check global paths
#38817