-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Better TypeId
#209
base: main
Are you sure you want to change the base?
Better TypeId
#209
Conversation
|
How about something like: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=d0c96326c80dbadb1cd688a570040b03 ? The idea comes from an issue I read on |
I considered it but I don't think it's a good idea.
Taken from the Rust docs for
From here I would suspect this would be a problem. Rust also reserve the right to change the output of |
The more I think about it I suspect the current implementation of |
Hack around the
'static
bound on Rust's built-inTypeId
to allow the ID to be tied to a compiler intrinsic instead of the implementation location of the macro like it currently issues.Issues blocking merge:
'static
TypeId
without themNamedType::SID
which I could see happening.