1
Fork 0

Remove compile-fail test suite

This commit is contained in:
Vadim Petrochenkov 2020-12-28 20:15:16 +03:00
parent 158f8d034b
commit 4d2d0bad4e
116 changed files with 516 additions and 196 deletions

View file

@ -525,7 +525,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/compile-fail/import-crate-var.rs`,
// in `source` breaks `src/test/ui/imports/import-crate-var.rs`,
// while the current crate doesn't have a valid `crate_name`.
if crate_name != kw::Invalid {
// `crate_name` should not be interpreted as relative.