Skip to content

Commit b932349

Browse files
committed
fix test
1 parent dbcce10 commit b932349

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/ui/issues/issue-19380.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ LL | trait Qiz {
3434
| --- this trait cannot be made into an object...
3535
LL | fn qiz();
3636
| ^^^ ...because associated function `qiz` has no `self` parameter
37+
= help: only type `Foo` implements the trait, consider using it directly instead
3738
= note: required for the cast from `&Foo` to `&'static (dyn Qiz + 'static)`
3839
help: consider turning `qiz` into a method by giving it a `&self` argument
3940
|

0 commit comments

Comments
 (0)