Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
struct Pass<'a> {
s: &'a mut String
}
impl<'a> Pass<'a> {
fn f(&mut self) {
self.s.push('x');
struct Foo<'a> {
impl<'a> Foo<'a> {
fn f(&self) {
self.s.push('x'); //~ cannot borrow `*self.s` as mutable, as it is behind a `&` reference
fn main() {}