Remove compile-fail
test suite
This commit is contained in:
parent
158f8d034b
commit
4d2d0bad4e
116 changed files with 516 additions and 196 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue