You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find an issue exactly like this one, but also probably don't know enough to recognize if any existing issue covered this specific case or not.
I tried this code:
fnfoo() -> implDrop{todo!()}
I expected to see this happen: code to compile, just as this would
fnfoo() -> u32{todo!()}
Instead, this happened: code fails to compile, explaining that type () does not implement Drop
I couldn't find an issue exactly like this one, but also probably don't know enough to recognize if any existing issue covered this specific case or not.
I tried this code:
I expected to see this happen: code to compile, just as this would
Instead, this happened: code fails to compile, explaining that type
()
does not implementDrop
Meta
rustc --version --verbose
:Also same behavior on the playground
The text was updated successfully, but these errors were encountered: