Change src/test
to tests
in source files, fix tidy and tests
This commit is contained in:
parent
cf2dff2b1e
commit
40ba0e84d5
137 changed files with 315 additions and 311 deletions
|
@ -514,7 +514,7 @@ impl<'a, 'b> BuildReducedGraphVisitor<'a, 'b> {
|
|||
ModuleKind::Block => unreachable!(),
|
||||
};
|
||||
// HACK(eddyb) unclear how good this is, but keeping `$crate`
|
||||
// in `source` breaks `src/test/ui/imports/import-crate-var.rs`,
|
||||
// in `source` breaks `tests/ui/imports/import-crate-var.rs`,
|
||||
// while the current crate doesn't have a valid `crate_name`.
|
||||
if crate_name != kw::Empty {
|
||||
// `crate_name` should not be interpreted as relative.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue