diff options
| author | Aaron Turon <aturon@mozilla.com> | 2015-01-07 12:14:59 -0800 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2015-01-07 12:14:59 -0800 |
| commit | 321d9ddff21b532300a9ced6ae7ce5f902c0fbf5 (patch) | |
| tree | 21cf13bc5c3de8e35e618780f72805fcf30b17ed /src | |
| parent | 7deb9abd1b45f3e56ca6b13432866ae89886f21f (diff) | |
| download | rust-321d9ddff21b532300a9ced6ae7ce5f902c0fbf5.tar.gz rust-321d9ddff21b532300a9ced6ae7ce5f902c0fbf5.zip | |
Update references to old snapshot
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_typeck/check/_match.rs | 2 | ||||
| -rw-r--r-- | src/test/compile-fail/mut-pattern-mismatched.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_typeck/check/_match.rs b/src/librustc_typeck/check/_match.rs index d9829fd1416..4d3715afddf 100644 --- a/src/librustc_typeck/check/_match.rs +++ b/src/librustc_typeck/check/_match.rs @@ -195,7 +195,7 @@ pub fn check_pat<'a, 'tcx>(pcx: &pat_ctxt<'a, 'tcx>, ast::PatRegion(ref inner, mutbl) => { let inner_ty = fcx.infcx().next_ty_var(); - // SNAP 340ac04 remove this `if`-`else` entirely after next snapshot + // SNAP 9e4e524 remove this `if`-`else` entirely after next snapshot let mutbl = if mutbl == ast::MutImmutable { ty::deref(fcx.infcx().shallow_resolve(expected), true) .map(|mt| mt.mutbl).unwrap_or(ast::MutImmutable) diff --git a/src/test/compile-fail/mut-pattern-mismatched.rs b/src/test/compile-fail/mut-pattern-mismatched.rs index 443be7d7b69..f945308b92a 100644 --- a/src/test/compile-fail/mut-pattern-mismatched.rs +++ b/src/test/compile-fail/mut-pattern-mismatched.rs @@ -13,7 +13,7 @@ fn main() { // (separate lines to ensure the spans are accurate) - // SNAP 340ac04 uncomment this after the next snapshot + // SNAP 9e4e524 uncomment this after the next snapshot // NOTE(stage0) just in case tidy doesn't check snap's in tests // let &_ // ~ ERROR expected `&mut isize`, found `&_` // = foo; |
