]> git.lizzy.rs Git - rust.git/blob - src/test/ui/variance/variance-object-types.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / variance / variance-object-types.stderr
1 error[E0208]: [o]
2   --> $DIR/variance-object-types.rs:11:1
3    |
4 LL | / struct Foo<'a> { //~ ERROR [o]
5 LL | |     x: Box<Fn(i32) -> &'a i32 + 'static>
6 LL | | }
7    | |_^
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0208`.