Skip to content

Commit

Permalink
Update ui test suite to nightly-2024-09-29
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 29, 2024
1 parent e6b4d47 commit 7553de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ui/no-attribute-macro.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ error[E0038]: the trait `Trait` cannot be made into an object
12 | let _: &dyn Trait;
| ^^^^^^^^^^ `Trait` cannot be made into an object
|
note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
note: for a trait to be "dyn-compatible" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
--> tests/ui/no-attribute-macro.rs:2:14
|
1 | pub trait Trait {
Expand Down

0 comments on commit 7553de3

Please sign in to comment.