E0004 says "note: Option<i32>
defined here" when it's not
#101068
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
P-medium
Medium priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Uh oh!
There was an error while loading. Please reload this page.
I just noticed this regression from 1.60 to 1.61 because TRPL reasons.
Code
Given the following code:
The current output is:
Notice especially this line:
Which... raises a few questions...
Option<i32>
in this code, so I don't know why this note is saying I didIdeally the output shouldn't have this line, I don't think.
Versions with regression
This problem started with 1.61 and still exists in 1.63.0, 1.64.0-beta.3, and nightly 2022-08-25 7480389.
@rustbot modify labels: +regression-untriaged
The text was updated successfully, but these errors were encountered: