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 b8a555a commit eb4b038Copy full SHA for eb4b038
tests/ui/bare-trait-object.stderr
@@ -1,10 +1,10 @@
1
-error[E0782]: trait objects must include the `dyn` keyword
+error[E0782]: expected a type, found a trait
2
--> tests/ui/bare-trait-object.rs:11:16
3
|
4
11 | impl Trait for Send + Sync {
5
| ^^^^^^^^^^^
6
7
-help: add `dyn` keyword before this trait
+help: you can add the `dyn` keyword if you want a trait object
8
9
11 | impl Trait for dyn Send + Sync {
10
| +++
0 commit comments