iter ctt.3: KindMismatch retire

This commit is contained in:
2026-05-12 22:31:57 +02:00
parent 0e556f085c
commit 0d3f44bee1
6 changed files with 97 additions and 83 deletions
-20
View File
@@ -1160,26 +1160,6 @@ fn workspace_error_to_diagnostic(
"method": method,
})),
),
W::KindMismatch {
class,
param,
method,
defining_module,
} => Some(
ailang_check::Diagnostic::error(
"kind-mismatch",
format!(
"kind mismatch in class `{class}`: parameter `{param}` is used in applied position \
inside method `{method}` (Decision 11 axis 5: class params are kind `*` only)"
),
)
.with_ctx(serde_json::json!({
"class": class,
"param": param,
"method": method,
"defining_module": defining_module,
})),
),
W::InvalidSuperclassParam {
class,
superclass,