adt_const_params
feature gate error leaks {type error}
(TyKind::Error
)
#118179
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-incorrect
Diagnostics: A diagnostic that is giving misleading or incorrect information.
D-papercut
Diagnostics: An error or lint that needs small tweaks.
P-low
Low priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following code
currently yields
Ideally, we would replace the
{type error}
with_
or prevent the second error from being be emitted (this can be achieved by bailing out early if the relevant type.references_errors()
).The text was updated successfully, but these errors were encountered: