Tim Chevalier
5f03ca48d8
Add a fast path in ty::occurs_check_fails
Use type_contains_vars in occurs_check_fails to avoid doing any work most of the time. This fixes a performance regression. (No one else noticed yet that typechecking just got 4x slower, right? Well, now it isn't anymore. :-})
This is a compiler and suite of associated libraries and documentation for the Rust programming language. See LICENSE.txt for terms of copyright and redistribution. See http://github.com/graydon/rust for current development page.
Description
Languages
Rust
97.9%
Python
0.5%
JavaScript
0.4%
C++
0.3%
Shell
0.3%
Other
0.4%