]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-21974.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-21974.stderr
CommitLineData
e74abb32 1error[E0283]: type annotations needed: cannot resolve `&'a T: Foo`
0731742a 2 --> $DIR/issue-21974.rs:10:1
8faf50e0 3 |
e1599b0c
XL
4LL | trait Foo {
5 | --------- required by `Foo`
6...
532ac7d7 7LL | / fn foo<'a,'b,T>(x: &'a T, y: &'b T)
8faf50e0
XL
8LL | | where &'a T : Foo,
9LL | | &'b T : Foo
10LL | | {
11LL | | x.foo();
12LL | | y.foo();
13LL | | }
14 | |_^
8faf50e0
XL
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0283`.