Nightly (2021): trait bound error for missing use #87857
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Using this rust version:
Given the following code:
The current output is:
Ideally the output should be as shown in this comment in issue #36513 (via PR #69255)and this comment (Feb 2020) in issue #40375 (which seems to have changed back to uninformative per this comment (Jun 2020))Actually the output we should see is the same as in the comment below (a subtle variation of this code) where helpful and correct messages are produced:
To fix, add
use futures::stream::{StreamExt};
This issue has tripped, at least two (new) users.
A question to Discord #beginners about the likely root cause of this error wasn't responded to so its a subtle issue.
The text was updated successfully, but these errors were encountered: