Skip to content

Commit 726f8b0

Browse files
ehussweihanglo
authored andcommitted
Update semver test for 1.86 output
1 parent 76f36db commit 726f8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/semver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ struct Foo;
13411341
impl Trait for Foo {}
13421342
13431343
fn main() {
1344-
let obj: Box<dyn Trait> = Box::new(Foo); // Error: cannot be made into an object
1344+
let obj: Box<dyn Trait> = Box::new(Foo); // Error: the trait `Trait` is not dyn compatible
13451345
}
13461346
```
13471347

0 commit comments

Comments
 (0)