]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc1623.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[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 `std::ops::FnOnce<(&'a Foo<'b>,)>`
8               found type `std::ops::FnOnce<(&Foo<'_>,)>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.