1 error[E0053]: method `bar` has an incompatible type for trait
2 --> $DIR/issue-13033.rs:18:30
4 LL | fn bar(&mut self, other: &mut Foo);
5 | -------- type in trait
7 LL | fn bar(&mut self, other: &Foo) {}
8 | ^^^^ types differ in mutability
10 = note: expected type `fn(&mut Baz, &mut dyn Foo)`
11 found type `fn(&mut Baz, &dyn Foo)`
12 help: consider change the type to match the mutability in trait
14 LL | fn bar(&mut self, other: &mut Foo) {}
17 error: aborting due to previous error
19 For more information about this error, try `rustc --explain E0053`.