-
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
Compilation will fail when the type error is automatically deduced #3891
Comments
It's not exactly clear to me how a rust-analyzer type inference bug can cause cargo build to fail when run from a terminal. Can you prepare a repository showing the issue? |
I describe it in more detail: |
If you actually write |
Fix tokio test ICE Fixes rust-lang#3858 It turned out that the issue mentioned [here](rust-lang/miri#3858 (comment)) is the exact cause of ICE. So in this PR, I changed the type of ``EpollEventInterest::epfd`` from ``i32`` to ``WeakFileDescriptionRef``.
The example is when I use the gfx-hal library, I encountered the following situation:
The plugin deduces the type of surfae as (),And the subsequent calls about the surface all showed errors, even when I directly performed cargo build in the terminal, there was an error.
The text was updated successfully, but these errors were encountered: