Closed
Description
Currently, we say:
foo.rs:14:22: 14:32 error: cannot convert to a trait object because trait `Foo` is not object-safe [E0038]
foo.rs:14 let test: &Bar = &mut thing;
^~~~~~~~~~
note: cannot call a generic method (`foo`) through a trait object
But we should include the information that it's Bar that is not object-safe, because Foo
is not and it inherits from Foo
.