]> git.lizzy.rs Git - rust.git/commit
Handle match with non axhaustive variants in closures
authorRoxane <roxane.fruytier@hotmail.com>
Tue, 24 Aug 2021 02:41:03 +0000 (22:41 -0400)
committerRoxane <roxane.fruytier@hotmail.com>
Sat, 28 Aug 2021 23:27:32 +0000 (19:27 -0400)
commit20de556a26dd1fb10a3cbaf9bc02c27015edb406
tree5eb8929b3cab149f2ad0271bee356a52ef837ef1
parent926f069950d7211a87fbd81778b420de420daad7
Handle match with non axhaustive variants in closures
compiler/rustc_typeck/src/expr_use_visitor.rs
src/test/ui/closures/2229_closure_analysis/auxiliary/match_non_exhaustive_lib.rs [new file with mode: 0644]
src/test/ui/closures/2229_closure_analysis/non-exhaustive-match.rs [new file with mode: 0644]
src/test/ui/closures/2229_closure_analysis/non-exhaustive-match.stderr [new file with mode: 0644]