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