Update references to old snapshot
This commit is contained in:
parent
7deb9abd1b
commit
321d9ddff2
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user