2017-12-10 13:47:55 -06:00
|
|
|
error[E0308]: mismatched types
|
2020-01-18 16:57:56 -06:00
|
|
|
--> $DIR/issue-27942.rs:5:25
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn select(&self) -> BufferViewHandle<R>;
|
2020-01-18 16:57:56 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ lifetime mismatch
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2022-06-11 18:25:35 -05:00
|
|
|
= note: expected trait `Resources<'_>`
|
|
|
|
found trait `Resources<'a>`
|
2021-10-05 07:11:51 -05:00
|
|
|
note: the anonymous lifetime defined here...
|
2021-02-22 08:39:06 -06:00
|
|
|
--> $DIR/issue-27942.rs:5:15
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn select(&self) -> BufferViewHandle<R>;
|
2021-02-22 08:39:06 -06:00
|
|
|
| ^^^^^
|
2021-10-05 07:11:51 -05:00
|
|
|
note: ...does not necessarily outlive the lifetime `'a` as defined here
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-27942.rs:3:18
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | pub trait Buffer<'a, R: Resources<'a>> {
|
2018-06-27 18:44:39 -05:00
|
|
|
| ^^
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2020-01-18 16:57:56 -06:00
|
|
|
--> $DIR/issue-27942.rs:5:25
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn select(&self) -> BufferViewHandle<R>;
|
2020-01-18 16:57:56 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ lifetime mismatch
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2022-06-11 18:25:35 -05:00
|
|
|
= note: expected trait `Resources<'_>`
|
|
|
|
found trait `Resources<'a>`
|
2021-10-05 07:11:51 -05:00
|
|
|
note: the lifetime `'a` as defined here...
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-27942.rs:3:18
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | pub trait Buffer<'a, R: Resources<'a>> {
|
2018-06-27 18:44:39 -05:00
|
|
|
| ^^
|
2021-10-05 07:11:51 -05:00
|
|
|
note: ...does not necessarily outlive the anonymous lifetime defined here
|
2021-02-22 08:39:06 -06:00
|
|
|
--> $DIR/issue-27942.rs:5:15
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn select(&self) -> BufferViewHandle<R>;
|
2021-02-22 08:39:06 -06:00
|
|
|
| ^^^^^
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0308`.
|