mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Rename IncompleteAbility
This commit is contained in:
parent
c0d26226dd
commit
04ee74542d
2 changed files with 5 additions and 5 deletions
|
@ -14,8 +14,8 @@ use crate::solve::{Aliases, Pools, TypeError};
|
|||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum AbilityImplError {
|
||||
/// Promote this to an error that the type does not fully implement an ability
|
||||
IncompleteAbility,
|
||||
/// Promote this to a generic error that a type doesn't implement an ability
|
||||
DoesNotImplement,
|
||||
/// Promote this error to a `TypeError::BadExpr` from elsewhere
|
||||
BadExpr(Region, Category, Variable),
|
||||
/// Promote this error to a `TypeError::BadPattern` from elsewhere
|
||||
|
@ -219,7 +219,7 @@ impl DeferredObligations {
|
|||
|
||||
use AbilityImplError::*;
|
||||
match on_error {
|
||||
IncompleteAbility => {
|
||||
DoesNotImplement => {
|
||||
// These aren't attached to another type error, so if these must_implement
|
||||
// constraints aren't met, we'll emit a generic "this type doesn't implement an
|
||||
// ability" error message at the end. We only want to do this if it turns out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue