make non_upper_case_globals lint not report trait impls
#110513
+38
−6
Merged