We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6638598 commit ff4460fCopy full SHA for ff4460f
src/par/types/error.rs
@@ -186,9 +186,9 @@ impl TypeError {
186
name,
187
)
188
}
189
- Self::TypeMustBeKnownAtThisPoint(span, _) => {
+ Self::TypeMustBeKnownAtThisPoint(span, name) => {
190
let labels = labels_from_span(code, span);
191
- miette::miette!(labels = labels, "Type must be known at this point.")
+ miette::miette!(labels = labels, "Type of `{}` must be known at this point.", name)
192
193
Self::ParameterTypeMustBeKnown(span, param) => {
194
0 commit comments