]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-21974.stderr
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / ui / issues / issue-21974.stderr
1 error[E0283]: type annotations needed: cannot satisfy `&'a T: Foo`
2   --> $DIR/issue-21974.rs:11:19
3    |
4 LL |     where &'a T : Foo,
5    |                   ^^^
6    |
7 note: multiple `impl`s or `where` clauses satisfying `&'a T: Foo` found
8   --> $DIR/issue-21974.rs:11:19
9    |
10 LL |     where &'a T : Foo,
11    |                   ^^^
12 LL |           &'b T : Foo
13    |                   ^^^
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0283`.