]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-13033.stderr
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-13033.stderr
index 57447fa48aacc596a83a01dcd316f124cd031d88..6c3651ff1217a28381698ec173b811ac0a11aa52 100644 (file)
@@ -8,7 +8,7 @@ LL |     fn bar(&mut self, other: &dyn Foo) {}
    |                              ^^^^^^^^
    |                              |
    |                              types differ in mutability
-   |                              help: consider changing the mutability to match the trait: `&mut dyn Foo`
+   |                              help: change the parameter type to match the trait: `&mut dyn Foo`
    |
    = note: expected fn pointer `fn(&mut Baz, &mut dyn Foo)`
               found fn pointer `fn(&mut Baz, &dyn Foo)`