about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-12-11 13:10:30 -0800
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-12-11 17:38:57 -0800
commit6439f2d54645915ce57f4c229811719e8e498151 (patch)
treea711dffdf40b59f732fd30735e0599a33fce57d7 /src/rt/rust_kernel.cpp
parent35209cb9ec1ed743dfbee9854d6a53500e6bf0ff (diff)
downloadrust-6439f2d54645915ce57f4c229811719e8e498151.tar.gz
rust-6439f2d54645915ce57f4c229811719e8e498151.zip
Avoid extra error for type mismatches in patterns
When a type error has already occurred, don't call ty::subst,
which may ICE due to the mismatch in the number of type params
involved.

I'm deeming this too small to review.

Closes #3680
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions