2017-12-05 13:15:23 -05:00
|
|
|
note: External requirements
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:45:29
|
2017-12-05 13:15:23 -05:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2017-12-05 13:15:23 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2019-11-30 18:47:21 +02:00
|
|
|
= note: defining type: no_relationships_late::<'_#1r, T>::{{closure}}#0 with closure substs [
|
2017-12-05 13:15:23 -05:00
|
|
|
i32,
|
2019-04-03 07:30:08 -07:00
|
|
|
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T)),
|
2017-12-05 13:15:23 -05:00
|
|
|
]
|
2018-09-07 13:35:16 -04:00
|
|
|
= note: late-bound region is '_#3r
|
2018-09-06 22:57:05 -04:00
|
|
|
= note: number of external vids: 4
|
2017-12-05 13:15:23 -05:00
|
|
|
= note: where T: '_#2r
|
|
|
|
= note: where '_#1r: '_#2r
|
|
|
|
|
|
|
|
note: No external requirements
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:41:1
|
2017-12-05 13:15:23 -05:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | / fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Anything<'b>,
|
|
|
|
LL | | {
|
2017-12-05 13:15:23 -05:00
|
|
|
... |
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | |
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | | }
|
2017-12-05 13:15:23 -05:00
|
|
|
| |_^
|
|
|
|
|
|
2019-11-30 18:47:21 +02:00
|
|
|
= note: defining type: no_relationships_late::<'_#1r, T>
|
2017-12-05 13:15:23 -05:00
|
|
|
|
2018-09-15 18:30:29 +01:00
|
|
|
error[E0309]: the parameter type `T` may not live long enough
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:45:29
|
2018-09-15 18:30:29 +01:00
|
|
|
|
|
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2019-11-30 17:29:56 +02:00
|
|
|
= help: consider adding an explicit lifetime bound `T: ReFree(DefId(0:15 ~ projection_one_region_closure[317d]::no_relationships_late[0]), BrNamed(DefId(0:16 ~ projection_one_region_closure[317d]::no_relationships_late[0]::'a[0]), 'a))`...
|
2018-09-15 18:30:29 +01:00
|
|
|
|
2018-12-11 15:49:40 -06:00
|
|
|
error: lifetime may not live long enough
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:45:39
|
2018-07-31 14:35:43 +02:00
|
|
|
|
|
2018-08-02 12:00:15 +02: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 14:35:43 +02:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2018-10-03 21:56:11 +01: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 14:35:43 +02:00
|
|
|
|
2018-02-22 18:46:02 -05:00
|
|
|
note: External requirements
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:56:29
|
2018-02-22 18:46:02 -05:00
|
|
|
|
|
2018-02-25 02:59:34 +03:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2018-02-22 18:46:02 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2019-11-30 18:47:21 +02:00
|
|
|
= note: defining type: no_relationships_early::<'_#1r, '_#2r, T>::{{closure}}#0 with closure substs [
|
2018-02-22 18:46:02 -05:00
|
|
|
i32,
|
2019-04-03 07:30:08 -07:00
|
|
|
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
|
2018-02-22 18:46:02 -05:00
|
|
|
]
|
2018-09-06 22:57:05 -04:00
|
|
|
= note: number of external vids: 4
|
2018-02-22 18:46:02 -05:00
|
|
|
= note: where T: '_#3r
|
|
|
|
= note: where '_#2r: '_#3r
|
|
|
|
|
2017-12-05 13:15:23 -05:00
|
|
|
note: No external requirements
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:51:1
|
2017-12-05 13:15:23 -05:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | / fn no_relationships_early<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Anything<'b>,
|
|
|
|
LL | | 'a: 'a,
|
2017-12-05 13:15:23 -05:00
|
|
|
... |
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | |
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | | }
|
2017-12-05 13:15:23 -05:00
|
|
|
| |_^
|
|
|
|
|
|
2019-11-30 18:47:21 +02:00
|
|
|
= note: defining type: no_relationships_early::<'_#1r, '_#2r, T>
|
2017-12-05 13:15:23 -05:00
|
|
|
|
2018-09-15 18:30:29 +01:00
|
|
|
error[E0309]: the parameter type `T` may not live long enough
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:56:29
|
2018-09-15 18:30:29 +01:00
|
|
|
|
|
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider adding an explicit lifetime bound `T: ReEarlyBound(0, 'a)`...
|
|
|
|
|
2018-12-11 15:49:40 -06:00
|
|
|
error: lifetime may not live long enough
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:56:39
|
2018-07-31 14:35:43 +02:00
|
|
|
|
|
2018-08-02 12:00:15 +02: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 14:35:43 +02:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2018-10-03 21:56:11 +01: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 14:35:43 +02:00
|
|
|
|
2018-02-22 18:46:02 -05:00
|
|
|
note: External requirements
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:70:29
|
2018-02-22 18:46:02 -05:00
|
|
|
|
|
2018-02-25 02:59:34 +03:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2018-02-22 18:46:02 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2019-11-30 18:47:21 +02:00
|
|
|
= note: defining type: projection_outlives::<'_#1r, '_#2r, T>::{{closure}}#0 with closure substs [
|
2018-02-22 18:46:02 -05:00
|
|
|
i32,
|
2019-04-03 07:30:08 -07:00
|
|
|
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
|
2018-02-22 18:46:02 -05:00
|
|
|
]
|
2018-09-06 22:57:05 -04:00
|
|
|
= note: number of external vids: 4
|
2018-09-17 14:00:33 -04:00
|
|
|
= note: where <T as Anything<ReClosureBound('_#2r)>>::AssocType: '_#3r
|
2018-02-22 18:46:02 -05:00
|
|
|
|
2017-12-05 13:15:23 -05:00
|
|
|
note: No external requirements
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:62:1
|
2017-12-05 13:15:23 -05:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | / fn projection_outlives<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Anything<'b>,
|
|
|
|
LL | | T::AssocType: 'a,
|
2017-12-05 13:15:23 -05:00
|
|
|
... |
|
2018-09-24 15:36:50 -04:00
|
|
|
LL | | with_signature(cell, t, |cell, t| require(cell, t));
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | | }
|
2017-12-05 13:15:23 -05:00
|
|
|
| |_^
|
|
|
|
|
|
2019-11-30 18:47:21 +02:00
|
|
|
= note: defining type: projection_outlives::<'_#1r, '_#2r, T>
|
2017-12-05 13:15:23 -05:00
|
|
|
|
2018-02-22 18:46:02 -05:00
|
|
|
note: External requirements
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:80:29
|
2018-02-25 02:59:34 +03:00
|
|
|
|
|
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2019-11-30 18:47:21 +02:00
|
|
|
= note: defining type: elements_outlive::<'_#1r, '_#2r, T>::{{closure}}#0 with closure substs [
|
2018-02-25 02:59:34 +03:00
|
|
|
i32,
|
2019-04-03 07:30:08 -07:00
|
|
|
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
|
2018-02-25 02:59:34 +03:00
|
|
|
]
|
2018-09-06 22:57:05 -04:00
|
|
|
= note: number of external vids: 4
|
2018-02-25 02:59:34 +03:00
|
|
|
= note: where T: '_#3r
|
|
|
|
= note: where '_#2r: '_#3r
|
2018-02-22 18:46:02 -05:00
|
|
|
|
2017-12-05 13:15:23 -05:00
|
|
|
note: No external requirements
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/projection-one-region-closure.rs:74:1
|
2018-02-23 03:42:32 +03:00
|
|
|
|
|
|
|
|
LL | / fn elements_outlive<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Anything<'b>,
|
|
|
|
LL | | T: 'a,
|
|
|
|
... |
|
|
|
|
LL | | with_signature(cell, t, |cell, t| require(cell, t));
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
2019-11-30 18:47:21 +02:00
|
|
|
= note: defining type: elements_outlive::<'_#1r, '_#2r, T>
|
2017-12-05 13:15:23 -05:00
|
|
|
|
2018-09-24 15:36:50 -04:00
|
|
|
error: aborting due to 4 previous errors
|
2017-12-05 13:15:23 -05:00
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0309`.
|