-
Notifications
You must be signed in to change notification settings - Fork 13.3k
the reflection story is not settled so Any and the downcast method on Box<T> should not be stable #18005
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
Comments
The decision to stabilize Since there are useful libraries in the wild that use this, we plan to leave Closing. |
Note that we could consider an RFC for a more restricted way to implement I want to reiterate that |
@pnkfelix: If 1.0 is going to be released in a few months, Rust won't be able to have parametric polymorphism or provide stable ABI due to |
Note that when We are considering making |
…Veykril fix(ide-completion): fix handling of `for` in `impl T for A` in function body Closes rust-lang#17787.
It may be that we want to have reflection behind a type bound like
Reflect
, so reasoning about generics is possible from the type bounds. Removing most reflection support is the subject of an RFC: rust-lang/rfcs#379 and changingtype_id
has been part of that discussion.The text was updated successfully, but these errors were encountered: