Uncaught unconditional recursion in From
impl
#98217
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.
Rustc has no issues compiling the following code (playground link):
The other way of writing this, however, does (correctly) fail to compile (playground link):
I assume that type inference is happening after the
unconditional_recursion
lint causing it to miss this?The text was updated successfully, but these errors were encountered: