]>
Commit | Line | Data |
---|---|---|
f2b60f7d FG |
1 | error[E0308]: mismatched types |
2 | --> $DIR/issue-101984.rs:21:13 | |
3 | | | |
4 | LL | let (cmp, router) = self.router.at()?; | |
2b03887a | 5 | | ^^^^^^^^^^^^^ ----------------- this expression has type `Match<&(for<'a> fn(&'a ()), Box<Wrapper>)>` |
f2b60f7d FG |
6 | | | |
7 | | expected struct `Match`, found tuple | |
8 | | | |
2b03887a | 9 | = note: expected struct `Match<&(for<'a> fn(&'a ()), Box<Wrapper>)>` |
f2b60f7d FG |
10 | found tuple `(_, _)` |
11 | ||
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0308`. |