We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76f36db commit 726f8b0Copy full SHA for 726f8b0
src/doc/src/reference/semver.md
@@ -1341,7 +1341,7 @@ struct Foo;
1341
impl Trait for Foo {}
1342
1343
fn main() {
1344
- let obj: Box<dyn Trait> = Box::new(Foo); // Error: cannot be made into an object
+ let obj: Box<dyn Trait> = Box::new(Foo); // Error: the trait `Trait` is not dyn compatible
1345
}
1346
```
1347
0 commit comments