mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Report unrecognized shorthands when loading from the root module
This commit is contained in:
parent
5a1bf2b891
commit
7faff12cbf
7 changed files with 245 additions and 29 deletions
|
@ -163,6 +163,9 @@ pub(crate) mod diag {
|
|||
roc_packaging::cache::roc_cache_dir().display()
|
||||
)
|
||||
}
|
||||
LoadingProblem::UnknownPackageShorthand { shorthand, .. } => {
|
||||
format!("Unknown package shorthand: {}", shorthand)
|
||||
}
|
||||
};
|
||||
|
||||
Some(Diagnostic {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue