]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-101984.stderr
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / suggestions / issue-101984.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-101984.rs:21:13
3    |
4 LL |         let (cmp, router) = self.router.at()?;
5    |             ^^^^^^^^^^^^^   ----------------- this expression has type `Match<&(for<'a> fn(&'a ()), Box<Wrapper>)>`
6    |             |
7    |             expected struct `Match`, found tuple
8    |
9    = note: expected struct `Match<&(for<'a> fn(&'a ()), Box<Wrapper>)>`
10                found tuple `(_, _)`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.