Avoid unifying vars when possible; handle bot (more) correctly

This commit is contained in:
Niko Matsakis
2012-03-24 21:24:47 -07:00
parent ee5d0f5e3f
commit bf9d714d46
8 changed files with 116 additions and 32 deletions

View File

@@ -694,7 +694,7 @@ fn test_try_fail() {
fail
} {
result::err(()) { }
_ { fail; }
result::ok(()) { fail; }
}
}