diff options
| author | Eric Huss <eric@huss.org> | 2025-02-12 14:12:16 -0800 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2025-02-13 13:10:27 -0800 |
| commit | 7dc9e057428f4f235de2fec90218980bac7c46a7 (patch) | |
| tree | ff58071f65c924838adacd7608f372806eeea29f /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | c1791a1b48d08ccd2346394498ecf5a993324740 (diff) | |
| download | rust-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
