-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trait-based APIs defined local to a function don't compile #1128
Comments
Yes, this is a Rust limitation that makes me very sad: dropshot/dropshot_endpoint/src/api_trait.rs Lines 854 to 874 in bde88ae
See also rust-lang/rust#79260. |
Is this worth documenting, or do we figure it's too obscure? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I expected this to succeed:
Instead it fails with:
The text was updated successfully, but these errors were encountered: