Skip to content

Commit eb4b038

Browse files
committed
Update ui test suite to nightly-2024-10-14
1 parent b8a555a commit eb4b038

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ui/bare-trait-object.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
error[E0782]: trait objects must include the `dyn` keyword
1+
error[E0782]: expected a type, found a trait
22
--> tests/ui/bare-trait-object.rs:11:16
33
|
44
11 | impl Trait for Send + Sync {
55
| ^^^^^^^^^^^
66
|
7-
help: add `dyn` keyword before this trait
7+
help: you can add the `dyn` keyword if you want a trait object
88
|
99
11 | impl Trait for dyn Send + Sync {
1010
| +++

0 commit comments

Comments
 (0)