summaryrefslogtreecommitdiffstats
path: root/tests/ui/type/type-check/issue-40294.stderr
blob: c6c1d6893243ec41dc4d865592eb1597bd922464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0283]: type annotations needed: cannot satisfy `&'a T: Foo`
  --> $DIR/issue-40294.rs:6:19
   |
LL |     where &'a T : Foo,
   |                   ^^^
   |
note: multiple `impl`s or `where` clauses satisfying `&'a T: Foo` found
  --> $DIR/issue-40294.rs:6:19
   |
LL |     where &'a T : Foo,
   |                   ^^^
LL |           &'b T : Foo
   |                   ^^^

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0283`.