summaryrefslogtreecommitdiffstats
path: root/tests/ui/type/type-check/issue-40294.stderr
blob: d15fd23418bb0be17020759ab5df157b6891b0b3 (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 previous error

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