diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-12-01 10:11:59 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-12-19 03:29:29 -0500 |
| commit | 3efc9d2c55af6e58dd96c5814260bacc2b582ef3 (patch) | |
| tree | 0c9d4717d2ef6cb41fc29d666da5f81c01ddf7e3 /src/test | |
| parent | 514dfdbf12b71758c7abc3219ae1a3936e4d59d9 (diff) | |
| download | rust-3efc9d2c55af6e58dd96c5814260bacc2b582ef3.tar.gz rust-3efc9d2c55af6e58dd96c5814260bacc2b582ef3.zip | |
Fix bug in higher-ranked code that would sometimes leak skolemized regions and/or cause incorrect results.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/bad-match.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/compile-fail/bad-match.rs b/src/test/compile-fail/bad-match.rs index 39c3ed3e2a3..728b577df1d 100644 --- a/src/test/compile-fail/bad-match.rs +++ b/src/test/compile-fail/bad-match.rs @@ -14,3 +14,6 @@ fn main() { let int x = 5; match x; } + +fn main() { +} |
