Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
struct A {
b: B,
}
#[derive(Clone)]
struct B;
fn foo(_: A) {}
fn bar(mut a: A) -> B {
a.b = B;
foo(a);
a.b.clone()
//~^ ERROR borrow of moved value
fn main() {}