diff options
| author | bors <bors@rust-lang.org> | 2024-02-02 19:43:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-02 19:43:01 +0000 |
| commit | 9b6f86643fb4d71d4813c7233b8d3af349ca16cc (patch) | |
| tree | 26770d406bf7dd51cd217fac4e291e4c0eef4c21 /compiler/rustc_llvm/llvm-wrapper | |
| parent | b58b88c966c6c355e02131fcd4e21837b34227b2 (diff) | |
| parent | fe8c2e24bd5697d7bf4f0b55bf2e88aa9096d4bb (diff) | |
| download | rust-9b6f86643fb4d71d4813c7233b8d3af349ca16cc.tar.gz rust-9b6f86643fb4d71d4813c7233b8d3af349ca16cc.zip | |
Auto merge of #12217 - PartiallyTyped:12208, r=blyxyas
Fixed FP in `unused_io_amount` for Ok(lit), unrachable! and unwrap de… …sugar Fixes fp caused by linting on Ok(_) for all cases outside binding. We introduce the following rules for match exprs. - `panic!` and `unreachable!` are treated as consumed. - `Ok( )` patterns outside `DotDot` and `Wild` are treated as consuming. changelog: FP [`unused_io_amount`] when matching Ok(literal) or unreachable fixes #12208 r? `@blyxyas`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
