1 // Test that spans displayed in diagnostics identify the function call, not the function
2 // definition, as the location of invalidation due to FnEntry retag. Technically the FnEntry retag
3 // occurs inside the function, but what the user wants to know is which call produced the
7 let z = &mut x as *mut i32;
10 let _oof = *z; //~ ERROR: /read access .* tag does not exist in the borrow stack/
15 fn do_bad(&mut self) {