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 646f58a commit 95fb9eeCopy full SHA for 95fb9ee
src/test/ui/did_you_mean/bad-assoc-ty.stderr
@@ -103,7 +103,7 @@ warning: trait objects without an explicit `dyn` are deprecated
103
--> $DIR/bad-assoc-ty.rs:33:10
104
|
105
LL | type H = Fn(u8) -> (u8)::Output;
106
- | ^^^^^^ help: use `dyn`: `<dyn Fn(u8)>`
+ | ^^^^^^^^^^^^^^ help: use `dyn`: `<dyn Fn(u8) -> (u8)>`
107
108
= note: `#[warn(bare_trait_objects)]` on by default
109
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
0 commit comments