about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/attributes.rs
diff options
context:
space:
mode:
authorArpad Borsos <swatinem@swatinem.de>2022-11-26 21:33:12 +0100
committerArpad Borsos <swatinem@swatinem.de>2022-11-28 23:12:01 +0100
commit2db0dc32970a70bcf622e0854c944753a065cb15 (patch)
treeaac0904e2dda68df188d8cda04abe9c3feaa5fbf /compiler/rustc_codegen_llvm/src/attributes.rs
parent8a09420ac48658cad726e0a6997687ceac4151e3 (diff)
downloadrust-2db0dc32970a70bcf622e0854c944753a065cb15.tar.gz
rust-2db0dc32970a70bcf622e0854c944753a065cb15.zip
Simplify checking for `GeneratorKind::Async`
Adds a helper method around `generator_kind` that makes matching async constructs simpler.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions