2022-06-25 17:42:23 +00:00
|
|
|
error[E0283]: type annotations needed: cannot satisfy `&'a T: Foo`
|
2020-01-30 00:55:37 +00:00
|
|
|
--> $DIR/issue-21974.rs:11:19
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
2020-01-30 00:55:37 +00:00
|
|
|
LL | where &'a T : Foo,
|
2022-06-25 17:42:23 +00:00
|
|
|
| ^^^
|
2019-10-30 00:28:39 +00:00
|
|
|
|
|
2022-11-15 23:11:11 +00:00
|
|
|
note: multiple `impl`s or `where` clauses satisfying `&'a T: Foo` found
|
|
|
|
--> $DIR/issue-21974.rs:11:19
|
|
|
|
|
|
|
|
|
LL | where &'a T : Foo,
|
|
|
|
| ^^^
|
|
|
|
LL | &'b T : Foo
|
|
|
|
| ^^^
|
2018-07-15 21:11:54 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0283`.
|