Wrong compiler error description #69314
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to report error on function
f2
only,Instead, it has error following:
there should be no error E0597.
you can test on playground
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: