about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJakub Bukaj <jakub@jakub.cc>2014-10-21 03:40:10 +0200
committerJakub Bukaj <jakub@jakub.cc>2014-10-24 19:43:47 +0200
commit4380e96c0470d746267a11633fafe3e4ea459687 (patch)
tree3a1eab5f1213e9baf959ea545e4380b4a92cd12c /src/rustllvm/RustWrapper.cpp
parent3e9ce5afb776bf5a187cafa8cfe5ad677bfd3acc (diff)
downloadrust-4380e96c0470d746267a11633fafe3e4ea459687.tar.gz
rust-4380e96c0470d746267a11633fafe3e4ea459687.zip
Overhaul typechecking of patterns
Instead of checking patterns in a top-down fashion with a known
expected type on entry, this changes makes typeck establish
appropriate constraints between a pattern and the expression
it destructures, and lets inference compute the final types
or produce good error messages if it's impossible.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions