Implement new inference algorithm.

This commit is contained in:
Niko Matsakis 2012-03-22 20:06:01 -07:00
parent 40443768b1
commit 042c532a08
24 changed files with 1002 additions and 123 deletions

View file

@ -634,6 +634,7 @@ impl helpers for @e::encode_ctxt {
fn ty_str_ctxt() -> @tyencode::ctxt {
@{ds: e::def_to_str,
tcx: self.ccx.tcx,
reachable: self.ccx.reachable,
abbrevs: tyencode::ac_use_abbrevs(self.type_abbrevs)}
}
}