about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-10-26 03:09:06 +0100
committerGitHub <noreply@github.com>2020-10-26 03:09:06 +0100
commit083a5cd9a2cb087e9acd7c9e80e277883f7003b3 (patch)
tree1d6b485d650276f49b81948719e3f499d6ba83a2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent9e907d420e44cd91bf0a5ee421be26f537261a22 (diff)
parentf5d7443a6bd90b78e61b9c47e5032b5e1be1e49f (diff)
downloadrust-083a5cd9a2cb087e9acd7c9e80e277883f7003b3.tar.gz
rust-083a5cd9a2cb087e9acd7c9e80e277883f7003b3.zip
Rollup merge of #78214 - estebank:match-semicolon, r=oli-obk
Tweak match arm semicolon removal suggestion to account for futures

* Tweak and extend "use `.await`" suggestions
* Suggest removal of semicolon on prior match arm
* Account for `impl Future` when suggesting semicolon removal
* Silence some errors when encountering `await foo()?` as can't be certain what the intent was

*Thanks to https://twitter.com/a_hoverbear/status/1318960787105353728 for pointing this out!*
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions