fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0283]: type annotations required: cannot resolve `&'a T: Foo` 2 --> $DIR/issue-21974.rs:10:1 3 | 4LL | trait Foo { 5 | --------- required by `Foo` 6... 7LL | / fn foo<'a,'b,T>(x: &'a T, y: &'b T) 8LL | | where &'a T : Foo, 9LL | | &'b T : Foo 10LL | | { 11LL | | x.foo(); 12LL | | y.foo(); 13LL | | } 14 | |_^ 15 16error: aborting due to previous error 17 18For more information about this error, try `rustc --explain E0283`.