-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Type inference analysis confused by use in scope #3997
Comments
Local imports is still not being supported yet. (#1165) |
An interesting side-effect is r-a pulling what appears to be a completely random type that satisfies |
I think that may be related to a bug where Chalk nondeterministically returns a definite result when it shouldn't. Does it still happen in latest RA? |
Let's close this since we have #1165 for local imports and the weird inference is fixed. |
(Sorry for the not-super-minimized rerpo, I ran into this while following the gfx-hal intro.)
Cargo.toml
main.rs (
use
at root scope)main.rs (scoped
use
)This second form infers the wrong type for
logical_window_size
, and no type forphysical_window_size
.The text was updated successfully, but these errors were encountered: