]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/issue-85735.stderr
Rollup merge of #91086 - rhysd:issue-91085, r=m-ou-se
[rust.git] / src / test / ui / traits / issue-85735.stderr
1 error[E0283]: type annotations needed
2   --> $DIR/issue-85735.rs:7:8
3    |
4 LL |     T: FnMut(&'a ()),
5    |        ^^^^^^^^^^^^^ cannot infer type for type parameter `T`
6    |
7    = note: cannot satisfy `T: FnMut<(&'a (),)>`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0283`.