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