about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-17 00:35:50 +0000
committerbors <bors@rust-lang.org>2023-10-17 00:35:50 +0000
commit2cf708d04f23a8aed92becd2f9141db62d775077 (patch)
tree159950262c337f1d2cb6732b3a7a850b1250c11e /compiler/rustc_codegen_gcc/example/std_example.rs
parent9f27b1562cc8d6f6449cd3c94d89b410b51defc2 (diff)
parent6ed04af81c3bf79ee49f88e219fd168ff51886c8 (diff)
downloadrust-2cf708d04f23a8aed92becd2f9141db62d775077.tar.gz
rust-2cf708d04f23a8aed92becd2f9141db62d775077.zip
Auto merge of #11646 - Nilstrieb:compiler-does-not-comply-with-the-lints!!, r=giraffate
Make `multiple_unsafe_ops_per_block` ignore await desugaring

The await desugaring contains two calls (`Poll::new_unchecked` and `get_context`) inside a single unsafe block. That violates the lint.

fixes #11312

changelog: [`multiple_unsafe_ops_per_block`]: fix false positives in `.await`
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions