about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2025-02-12 14:12:16 -0800
committerEric Huss <eric@huss.org>2025-02-13 13:10:27 -0800
commit7dc9e057428f4f235de2fec90218980bac7c46a7 (patch)
treeff58071f65c924838adacd7608f372806eeea29f /compiler/rustc_codegen_gcc/example/std_example.rs
parentc1791a1b48d08ccd2346394498ecf5a993324740 (diff)
downloadrust-7dc9e057428f4f235de2fec90218980bac7c46a7.tar.gz
rust-7dc9e057428f4f235de2fec90218980bac7c46a7.zip
std: Apply dependency_on_unit_never_type_fallback
This generates a warning of irrefutable patterns. I decided to slightly
tweak the example so the closure returns unit, since the intent wasn't
to show the weird behavior of returning `!`.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions