Change src/test to tests in source files, fix tidy and tests

This commit is contained in:
Albert Larsan
2023-01-05 09:45:44 +01:00
parent cf2dff2b1e
commit 40ba0e84d5
137 changed files with 315 additions and 311 deletions

View File

@@ -1755,7 +1755,7 @@ impl SearchInterfaceForPrivateItemsVisitor<'_> {
// clauses that the compiler inferred. We only want to
// consider the ones that the user wrote. This is important
// for the inferred outlives rules; see
// `src/test/ui/rfc-2093-infer-outlives/privacy.rs`.
// `tests/ui/rfc-2093-infer-outlives/privacy.rs`.
self.visit_predicates(self.tcx.explicit_predicates_of(self.item_def_id));
self
}