-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Borrowed ptr to boxed trait exposes "uniq" type #4972
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
This has to do with the typechecking for patterns being top-down rather than bottom-up, so right now, that code just prints a hard-wired string for the actual type of the pattern, since the type isn't known yet. I have a patch in progress that improves the error messages here, but it probably won't be done for 0.6. De-milestoning. |
This is fixed. Checking in a test case. |
Indeed fixed and checked in, closing. |
( |
I don't think the error classification in |
This isn't quite an ICE, but I think it probably should be; the following program
... signals the error
It appears that "uniq" is the name used in midle/trans/reflect.rs for ty::vstore_uniq, in vstore_name_and_extra.
I'm guessing this isn't the desired behavior?
The text was updated successfully, but these errors were encountered: