todo!
macro does not satisfy type-checker when impl Trait
is in the return position
#132674
Labels
C-bug
Category: This is a bug.
The
todo!
macro does not satisfy the type-checker whenimpl Trait
is in the return position.This behavior contradicts the official documentation.
Example
Playground
Expected Behavior
The code to compile normally and panic during execution.
Actual Behavior
The code fails to compile because it does not pass typecheck.
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: