You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are actually two lints in play here, the unused_result and unused_must_use lint. The latter is turned on by default, whereas the former is not turned on by default.
The unused_result lint is much broader than the unused_must_use lint where it applies to any type, not just those marked with #[must_use]. In this example you're opting-in to the more strict semantics instead of relying on just unused_must_use.
Just the must-use lint will not warn about this program, so I'm going to close this as working as intended.
Add config option to use `rust-analyzer` specific target dir
Adds a Rust Analyzer configuration option to set a custom target directory for builds. This is a workaround for Rust Analyzer blocking debug builds while running `cargo check`. This change should closerust-lang#6007.
This is my first time contributing to this project, so any feedback regarding best practices that I'm not aware of are greatly appreciated! Thanks to all the maintainers for their hard work on this project and reviewing contributions.
In my opinion, the following should not fail:
The text was updated successfully, but these errors were encountered: