Update references to old snapshot

This commit is contained in:
Aaron Turon 2015-01-07 12:14:59 -08:00
parent 7deb9abd1b
commit 321d9ddff2
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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;