mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 22:45:14 +00:00
Report unused imports in modules
This commit is contained in:
parent
5dc51ce444
commit
92aa0912ea
8 changed files with 72 additions and 27 deletions
|
@ -31,7 +31,8 @@ pub enum ShadowKind {
|
|||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub enum Problem {
|
||||
UnusedDef(Symbol, Region),
|
||||
UnusedImport(ModuleId, Region),
|
||||
UnusedImport(Symbol, Region),
|
||||
UnusedModuleImport(ModuleId, Region),
|
||||
ExposedButNotDefined(Symbol),
|
||||
UnknownGeneratesWith(Loc<Ident>),
|
||||
/// First symbol is the name of the closure with that argument
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue