about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2021-09-27 17:16:04 -0700
committerMichael Howell <michael@notriddle.com>2021-09-29 09:15:35 -0700
commit6e973f08508fddc095c1cef20e07110c918e72e8 (patch)
tree06364c2136d352a51d146b40986d663704a26f13 /compiler/rustc_codegen_llvm/src
parent50f9f7810c975234ce4730488d32661a76a00428 (diff)
downloadrust-6e973f08508fddc095c1cef20e07110c918e72e8.tar.gz
rust-6e973f08508fddc095c1cef20e07110c918e72e8.zip
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 #88730
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions