2020-01-10 08:13:05 -06:00
|
|
|
note: external requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:37:29
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2022-08-31 13:17:32 -05:00
|
|
|
| ^^^^^^^^^
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2023-07-11 16:35:29 -05:00
|
|
|
= note: defining type: no_relationships_late::<'?1, T>::{closure#0} with closure args [
|
2017-12-05 12:15:23 -06:00
|
|
|
i32,
|
2023-04-21 19:08:38 -05:00
|
|
|
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
|
2020-03-12 20:23:38 -05:00
|
|
|
(),
|
2017-12-05 12:15:23 -06:00
|
|
|
]
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: late-bound region is '?3
|
2018-09-06 21:57:05 -05:00
|
|
|
= note: number of external vids: 4
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: where '?1: '?2
|
2017-12-05 12:15:23 -06:00
|
|
|
|
2020-01-10 08:13:05 -06:00
|
|
|
note: no external requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:33:1
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | / fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Anything<'b>,
|
2022-08-31 13:17:32 -05:00
|
|
|
| |____________________^
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: defining type: no_relationships_late::<'?1, T>
|
2017-12-05 12:15:23 -06:00
|
|
|
|
2018-12-11 15:49:40 -06:00
|
|
|
error: lifetime may not live long enough
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:37:39
|
2018-07-31 07:35:43 -05:00
|
|
|
|
|
2018-08-02 05:00:15 -05:00
|
|
|
LL | fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
| -- -- lifetime `'b` defined here
|
|
|
|
| |
|
|
|
|
| lifetime `'a` defined here
|
|
|
|
...
|
2018-07-31 07:35:43 -05:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2018-10-03 15:56:11 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^ argument requires that `'b` must outlive `'a`
|
2018-11-28 15:05:36 -06:00
|
|
|
|
|
2019-10-27 09:39:14 -05:00
|
|
|
= help: consider adding the following bound: `'b: 'a`
|
2018-07-31 07:35:43 -05:00
|
|
|
|
2020-01-10 08:13:05 -06:00
|
|
|
note: external requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:47:29
|
2018-02-22 17:46:02 -06:00
|
|
|
|
|
2018-02-24 17:59:34 -06:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2022-08-31 13:17:32 -05:00
|
|
|
| ^^^^^^^^^
|
2018-02-22 17:46:02 -06:00
|
|
|
|
|
2023-07-11 16:35:29 -05:00
|
|
|
= note: defining type: no_relationships_early::<'?1, '?2, T>::{closure#0} with closure args [
|
2018-02-22 17:46:02 -06:00
|
|
|
i32,
|
2023-04-21 19:08:38 -05:00
|
|
|
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
|
2020-03-12 20:23:38 -05:00
|
|
|
(),
|
2018-02-22 17:46:02 -06:00
|
|
|
]
|
2018-09-06 21:57:05 -05:00
|
|
|
= note: number of external vids: 4
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: where '?2: '?3
|
2018-02-22 17:46:02 -06:00
|
|
|
|
2020-01-10 08:13:05 -06:00
|
|
|
note: no external requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:42:1
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | / fn no_relationships_early<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Anything<'b>,
|
|
|
|
LL | | 'a: 'a,
|
2022-08-31 13:17:32 -05:00
|
|
|
| |___________^
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: defining type: no_relationships_early::<'?1, '?2, T>
|
2017-12-05 12:15:23 -06:00
|
|
|
|
2018-12-11 15:49:40 -06:00
|
|
|
error: lifetime may not live long enough
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:47:39
|
2018-07-31 07:35:43 -05:00
|
|
|
|
|
2018-08-02 05:00:15 -05:00
|
|
|
LL | fn no_relationships_early<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
| -- -- lifetime `'b` defined here
|
|
|
|
| |
|
|
|
|
| lifetime `'a` defined here
|
|
|
|
...
|
2018-07-31 07:35:43 -05:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2018-10-03 15:56:11 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^ argument requires that `'b` must outlive `'a`
|
2018-11-28 15:05:36 -06:00
|
|
|
|
|
2019-10-27 09:39:14 -05:00
|
|
|
= help: consider adding the following bound: `'b: 'a`
|
2018-07-31 07:35:43 -05:00
|
|
|
|
2020-01-10 08:13:05 -06:00
|
|
|
note: external requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:60:29
|
2018-02-22 17:46:02 -06:00
|
|
|
|
|
2018-02-24 17:59:34 -06:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2022-08-31 13:17:32 -05:00
|
|
|
| ^^^^^^^^^
|
2018-02-22 17:46:02 -06:00
|
|
|
|
|
2023-07-11 16:35:29 -05:00
|
|
|
= note: defining type: projection_outlives::<'?1, '?2, T>::{closure#0} with closure args [
|
2018-02-22 17:46:02 -06:00
|
|
|
i32,
|
2023-04-21 19:08:38 -05:00
|
|
|
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
|
2020-03-12 20:23:38 -05:00
|
|
|
(),
|
2018-02-22 17:46:02 -06:00
|
|
|
]
|
2018-09-06 21:57:05 -05:00
|
|
|
= note: number of external vids: 4
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: where <T as Anything<'?2>>::AssocType: '?3
|
2018-02-22 17:46:02 -06:00
|
|
|
|
2020-01-10 08:13:05 -06:00
|
|
|
note: no external requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:52:1
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | / fn projection_outlives<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Anything<'b>,
|
|
|
|
LL | | T::AssocType: 'a,
|
2022-08-31 13:17:32 -05:00
|
|
|
| |_____________________^
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: defining type: projection_outlives::<'?1, '?2, T>
|
2017-12-05 12:15:23 -06:00
|
|
|
|
2020-01-10 08:13:05 -06:00
|
|
|
note: external requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:69:29
|
2018-02-22 17:46:02 -06:00
|
|
|
|
|
2018-02-24 17:59:34 -06:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2022-08-31 13:17:32 -05:00
|
|
|
| ^^^^^^^^^
|
2018-02-22 17:46:02 -06:00
|
|
|
|
|
2023-07-11 16:35:29 -05:00
|
|
|
= note: defining type: elements_outlive::<'?1, '?2, T>::{closure#0} with closure args [
|
2018-02-22 17:46:02 -06:00
|
|
|
i32,
|
2023-04-21 19:08:38 -05:00
|
|
|
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
|
2020-03-12 20:23:38 -05:00
|
|
|
(),
|
2018-02-22 17:46:02 -06:00
|
|
|
]
|
2018-09-06 21:57:05 -05:00
|
|
|
= note: number of external vids: 4
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: where '?2: '?3
|
2018-02-22 17:46:02 -06:00
|
|
|
|
2020-01-10 08:13:05 -06:00
|
|
|
note: no external requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:64:1
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | / fn elements_outlive<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Anything<'b>,
|
|
|
|
LL | | 'b: 'a,
|
2022-08-31 13:17:32 -05:00
|
|
|
| |___________^
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: defining type: elements_outlive::<'?1, '?2, T>
|
2017-12-05 12:15:23 -06:00
|
|
|
|
2020-01-10 08:13:05 -06:00
|
|
|
note: external requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:81:29
|
2018-02-24 17:59:34 -06:00
|
|
|
|
|
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2022-08-31 13:17:32 -05:00
|
|
|
| ^^^^^^^^^
|
2018-02-24 17:59:34 -06:00
|
|
|
|
|
2023-07-11 16:35:29 -05:00
|
|
|
= note: defining type: one_region::<'?1, T>::{closure#0} with closure args [
|
2018-02-24 17:59:34 -06:00
|
|
|
i32,
|
2023-04-21 19:08:38 -05:00
|
|
|
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
|
2020-03-12 20:23:38 -05:00
|
|
|
(),
|
2018-02-24 17:59:34 -06:00
|
|
|
]
|
2018-09-06 21:57:05 -05:00
|
|
|
= note: number of external vids: 3
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: where '?1: '?2
|
2018-02-22 17:46:02 -06:00
|
|
|
|
2020-01-10 08:13:05 -06:00
|
|
|
note: no external requirements
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/projection-one-region-trait-bound-closure.rs:73:1
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
|
|
|
LL | / fn one_region<'a, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Anything<'a>,
|
2022-08-31 13:17:32 -05:00
|
|
|
| |____________________^
|
2018-02-22 18:42:32 -06:00
|
|
|
|
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: defining type: one_region::<'?1, T>
|
2017-12-05 12:15:23 -06:00
|
|
|
|
2018-09-24 14:36:50 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2017-12-05 12:15:23 -06:00
|
|
|
|