]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc1623.stderr
Rollup merge of #75695 - JohnTitor:regression-test, r=Dylan-DPC
[rust.git] / src / test / ui / rfc1623.stderr
1 error[E0308]: mismatched types
2   --> $DIR/rfc1623.rs:24:8
3    |
4 LL |     f: &id,
5    |        ^^^ one type is more general than the other
6    |
7    = note: expected type `FnOnce<(&'a Foo<'b>,)>`
8               found type `FnOnce<(&Foo<'_>,)>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.