mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
![]() Don't suggest adding `let` in certain `if` conditions Avoid being too eager to suggest `let` in an `if` condition with an `=`, namely when the LHS of the `=` isn't even valid as a pattern (to a first degree approximation). This heustic I came up with kinda sucks. Let me know if it needs to be refined. |
||
---|---|---|
.. | ||
attr | ||
expand | ||
util | ||
ast_traits.rs | ||
ast.rs | ||
entry.rs | ||
lib.rs | ||
mut_visit.rs | ||
node_id.rs | ||
ptr.rs | ||
token.rs | ||
tokenstream.rs | ||
visit.rs |