]> git.lizzy.rs Git - rust.git/commit
give correct error message on structural match violation
authorb-naber <bn263@gmx.de>
Tue, 24 May 2022 11:00:46 +0000 (13:00 +0200)
committerb-naber <bn263@gmx.de>
Tue, 24 May 2022 11:01:34 +0000 (13:01 +0200)
commite2e425e8d2e89bdca278be732e063a5c48412382
treea829e4b46ac1ed57eeb5d98cd436ec25cc5f8cbd
parentc186f7c07912064c352f12d8b0aa9d5e5975450e
give correct error message on structural match violation
compiler/rustc_mir_build/src/thir/pattern/const_to_pat.rs
compiler/rustc_trait_selection/src/traits/mod.rs
compiler/rustc_trait_selection/src/traits/structural_match.rs
compiler/rustc_typeck/src/check/wfcheck.rs