1 error[E0621]: explicit lifetime required in the type of `get`
2 --> $DIR/variance-trait-matching.rs:24:5
4 LL | fn get<'a, G>(get: &G) -> i32
5 | -- help: add explicit lifetime `'a` to the type of `get`: `&'a G`
8 | ^^^^^^^^^^^^^^ lifetime `'a` required
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0621`.