Skip to content
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

Add type annotation to render pass code, for rust-analyzer. #2773

Conversation

jimblandy
Copy link
Member

This is a workaround for a limitation in rust-analyzer:
rust-lang/rust-analyzer#12247

@jimblandy jimblandy marked this pull request as ready for review June 14, 2022 18:43
@jimblandy
Copy link
Member Author

Without this, rust-analyzer doesn't know the types of important variables, and things like find-references don't work, which is extremely confusing.

@cwfitzgerald cwfitzgerald merged commit 6da57dd into gfx-rs:master Jun 15, 2022
@jimblandy jimblandy deleted the render-type-annotations-for-rust-analyzer branch June 28, 2022 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants