1 error[E0283]: type annotations required: cannot resolve `&'a T: Foo`
2 --> $DIR/issue-21974.rs:10:1
4 LL | / fn foo<'a,'b,T>(x: &'a T, y: &'b T)
5 LL | | where &'a T : Foo,
13 note: required by `Foo`
14 --> $DIR/issue-21974.rs:6:1
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0283`.