Skip to content

Commit

Permalink
Update references to old snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
aturon committed Jan 7, 2015
1 parent 7deb9ab commit 321d9dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustc_typeck/check/_match.rs
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/mut-pattern-mismatched.rs
Expand Up @@ -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;
Expand Down

0 comments on commit 321d9dd

Please sign in to comment.