diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-09-12 11:47:33 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-09-15 15:28:12 -0400 |
| commit | 688ddf79156aa01a2507412c9b766f48ef208b04 (patch) | |
| tree | 4d8fc6a10ba98534517a66e4ae6d1fa1df2e3d06 /src/rustllvm/PassWrapper.cpp | |
| parent | 088c94ae96aa139db6b6f0c5640c720ff107ee0f (diff) | |
| download | rust-688ddf79156aa01a2507412c9b766f48ef208b04.tar.gz rust-688ddf79156aa01a2507412c9b766f48ef208b04.zip | |
typeck/kind -- stop using old trait framework.
- Unify the "well-formedness" checking that typeck was already doing with what was taking place in kind. - Move requirements that things be sized into typeck. - I left the checking on upvars in kind, though I think it should eventually be refactored into regionck (which would perhaps be renamed). This reflects a general plan to convert typeck so that it registers obligations or other pending things for conditions it cannot check eventually. This makes it easier to identify all the conditions that apply to an AST expression, but can also influence inference in somec cases (e.g., `Send` implies `'static`, so I already had to promote a lot of the checking that `kind.rs` was doing into typeck, this branch just continues the process).
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
