-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Some ty::sty values are being inferred as ast::ty_ #2316
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
I'm looking at this. |
Interestingly, I get the same type error if I change it to:
which rules out my first hypothesis that it was a resolve issue. |
A fine bug! Not in type inference, it turns out, but in resolve. You'll notice that I have a fix, just waiting for |
Fixed in 164039e |
Clarify the effect of the `-Zmiri-track-pointer-tag` flag in the README Edit the README to explicitly say that the `-Zmiri-track-pointer-tag` flag also tracks the creation of tags, not just when they are popped/invalidated. Related to rust-lang/miri#2308 / Manishearth/triomphe#38.
Update book.toml fix the authors field
Consider this program:
It fails to compile with this error:
This happens for other
ty::sty
variants such asty::ty_nil
andty::ty_bool
, but not forty::ty_type
and possibly some others. It's also worth noting that this might only happen outside the rustc crate, as I could not reproduce this error by doing similar things inside rustc.The text was updated successfully, but these errors were encountered: