" change this to return FnMut
instead of Fn
" where the return type is a std::result::Result
#125325
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
ambaxter/bbolt-rs@69eb00a#diff-4007187965c1fea4fd252a76f5f1007b2ea59f6d86e2f454edee547c5036be24R20
I expected to see this happen: Code compilation, or at least a sensible error.
Instead, this happened:
I tried to make a reproducer using the following code that expresses the same type and fn signatures on Rust Playground, but I'm unable to trigger it.
Meta
rustc --version --verbose
:tested on Nightly as well.
Backtrace
The text was updated successfully, but these errors were encountered: