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