Invalid Program with tokio::fs::File
creates Type Dependency Cycle (E0391)
#125867
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code:
with
I expected to see this happen:
Instead, this happened:
The process also commonly hangs until it is killed.
Meta
rustc --version --verbose
:Backtrace (is identical, but included for completion's sake)
The text was updated successfully, but these errors were encountered: