fix: Show what file paths were expected for unresolved modules

This commit is contained in:
Lukas Wirth 2022-03-11 16:49:41 +01:00
parent 6c8c02f625
commit a9dd606387
12 changed files with 133 additions and 59 deletions

View file

@ -54,7 +54,7 @@ diagnostics![
#[derive(Debug)]
pub struct UnresolvedModule {
pub decl: InFile<AstPtr<ast::Module>>,
pub candidate: String,
pub candidates: Box<[String]>,
}
#[derive(Debug)]