]> git.lizzy.rs Git - rust.git/commit
typeck/pat.rs: `check_pat_top` is the entry point.
authorMazdak Farrokhzad <twingoow@gmail.com>
Sat, 24 Aug 2019 11:47:07 +0000 (13:47 +0200)
committerMazdak Farrokhzad <twingoow@gmail.com>
Sat, 24 Aug 2019 17:56:56 +0000 (19:56 +0200)
commit65deeae76dfcb8d0aeb389bbe12ef9990caf2f6f
treead70ac00d70716a9b2c8a8f48548adc800c919ae
parent9d69783a46a9f6096b8c2f284876d6a68e2b6455
typeck/pat.rs: `check_pat_top` is the entry point.

This clarifies the fact that type checking patterns unconditionally
starts with `BindByValue` as the default binding mode making the
notion of a default binding mode internal to type checking patterns.
src/librustc_typeck/check/_match.rs
src/librustc_typeck/check/mod.rs
src/librustc_typeck/check/pat.rs