granite-rust/compiler/rustc_mir_build
Michael Howell 6e973f0850 fix(lint): don't suggest refutable patterns to "fix" irrefutable bind
In function arguments and let bindings, do not suggest changing `C` to `Foo::C`
unless `C` is the only variant of `Foo`, because it won't work.

The general warning is still kept, because code like this is confusing.

Fixes 
2021-09-29 09:15:35 -07:00
..
src fix(lint): don't suggest refutable patterns to "fix" irrefutable bind 2021-09-29 09:15:35 -07:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00