mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Fix "opaquees" in error message
This commit is contained in:
parent
8c737868aa
commit
87b7bb1fac
3 changed files with 10 additions and 3 deletions
|
@ -3516,6 +3516,13 @@ impl AliasKind {
|
|||
AliasKind::Opaque => "opaque",
|
||||
}
|
||||
}
|
||||
|
||||
pub fn as_str_plural(&self) -> &'static str {
|
||||
match self {
|
||||
AliasKind::Structural => "aliases",
|
||||
AliasKind::Opaque => "opaques",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue