2017-12-05 12:15:23 -06:00
|
|
|
note: No external requirements
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:46: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));
|
2017-12-05 12:15:23 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: defining type: DefId(0/1:19 ~ projection_one_region_trait_bound_static_closure[317d]::no_relationships_late[0]::{{closure}}[0]) with closure substs [
|
|
|
|
'_#1r,
|
|
|
|
T,
|
|
|
|
i32,
|
|
|
|
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
|
|
|
]
|
2018-08-27 14:10:05 -05:00
|
|
|
= note: late-bound region ReFree(DefId(0/0:8 ~ projection_one_region_trait_bound_static_closure[317d]::no_relationships_late[0]), BrNamed(crate0:DefIndex(1:16), 'a)) is '_#3r
|
|
|
|
= note: late-bound region ReFree(DefId(0/0:8 ~ projection_one_region_trait_bound_static_closure[317d]::no_relationships_late[0]), BrNamed(crate0:DefIndex(1:18), T)) is '_#4r
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
|
|
note: No external requirements
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:42:1
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2018-02-24 17:59:34 -06:00
|
|
|
LL | / fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Anything<'b>,
|
|
|
|
LL | | {
|
|
|
|
LL | | with_signature(cell, t, |cell, t| require(cell, t));
|
|
|
|
LL | | }
|
2018-02-22 17:46:02 -06:00
|
|
|
| |_^
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2018-02-22 17:46:02 -06:00
|
|
|
= note: defining type: DefId(0/0:8 ~ projection_one_region_trait_bound_static_closure[317d]::no_relationships_late[0]) with substs [
|
2017-12-05 12:15:23 -06:00
|
|
|
'_#1r,
|
2018-02-22 17:46:02 -06:00
|
|
|
T
|
2017-12-05 12:15:23 -06:00
|
|
|
]
|
|
|
|
|
|
|
|
note: No external requirements
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:55:29
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
2018-02-24 17:59:34 -06:00
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
2017-12-05 12:15:23 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2018-02-22 17:46:02 -06:00
|
|
|
= note: defining type: DefId(0/1:23 ~ projection_one_region_trait_bound_static_closure[317d]::no_relationships_early[0]::{{closure}}[0]) with closure substs [
|
2017-12-05 12:15:23 -06:00
|
|
|
'_#1r,
|
|
|
|
'_#2r,
|
|
|
|
T,
|
|
|
|
i32,
|
|
|
|
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
|
|
|
|
]
|
2018-08-27 14:10:05 -05:00
|
|
|
= note: late-bound region ReFree(DefId(0/0:9 ~ projection_one_region_trait_bound_static_closure[317d]::no_relationships_early[0]), BrNamed(crate0:DefIndex(1:22), T)) is '_#4r
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
|
|
note: No external requirements
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:50: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,
|
2018-02-24 17:01:39 -06:00
|
|
|
LL | | {
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | | with_signature(cell, t, |cell, t| require(cell, t));
|
|
|
|
LL | | }
|
2017-12-05 12:15:23 -06:00
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
= note: defining type: DefId(0/0:9 ~ projection_one_region_trait_bound_static_closure[317d]::no_relationships_early[0]) with substs [
|
|
|
|
'_#1r,
|
|
|
|
'_#2r,
|
|
|
|
T
|
|
|
|
]
|
|
|
|
|
2018-02-22 17:46:02 -06:00
|
|
|
note: No external requirements
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:74: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));
|
2018-02-22 17:46:02 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: defining type: DefId(0/1:27 ~ projection_one_region_trait_bound_static_closure[317d]::projection_outlives[0]::{{closure}}[0]) with closure substs [
|
|
|
|
'_#1r,
|
|
|
|
'_#2r,
|
|
|
|
T,
|
|
|
|
i32,
|
|
|
|
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
|
|
|
|
]
|
2018-08-27 14:10:05 -05:00
|
|
|
= note: late-bound region ReFree(DefId(0/0:10 ~ projection_one_region_trait_bound_static_closure[317d]::projection_outlives[0]), BrNamed(crate0:DefIndex(1:26), T)) is '_#4r
|
2018-02-22 17:46:02 -06:00
|
|
|
|
2017-12-05 12:15:23 -06:00
|
|
|
note: No external requirements
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:59: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,
|
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));
|
|
|
|
LL | | }
|
2017-12-05 12:15:23 -06:00
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
= note: defining type: DefId(0/0:10 ~ projection_one_region_trait_bound_static_closure[317d]::projection_outlives[0]) with substs [
|
|
|
|
'_#1r,
|
|
|
|
'_#2r,
|
|
|
|
T
|
|
|
|
]
|
|
|
|
|
2018-02-22 17:46:02 -06:00
|
|
|
note: No external requirements
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:83: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));
|
2018-02-22 17:46:02 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: defining type: DefId(0/1:31 ~ projection_one_region_trait_bound_static_closure[317d]::elements_outlive[0]::{{closure}}[0]) with closure substs [
|
|
|
|
'_#1r,
|
|
|
|
'_#2r,
|
|
|
|
T,
|
|
|
|
i32,
|
|
|
|
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T))
|
|
|
|
]
|
2018-08-27 14:10:05 -05:00
|
|
|
= note: late-bound region ReFree(DefId(0/0:11 ~ projection_one_region_trait_bound_static_closure[317d]::elements_outlive[0]), BrNamed(crate0:DefIndex(1:30), T)) is '_#4r
|
2018-02-22 17:46:02 -06:00
|
|
|
|
2017-12-05 12:15:23 -06:00
|
|
|
note: No external requirements
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:78: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,
|
2018-02-24 17:01:39 -06:00
|
|
|
LL | | {
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | | with_signature(cell, t, |cell, t| require(cell, t));
|
|
|
|
LL | | }
|
2017-12-05 12:15:23 -06:00
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
= note: defining type: DefId(0/0:11 ~ projection_one_region_trait_bound_static_closure[317d]::elements_outlive[0]) with substs [
|
|
|
|
'_#1r,
|
|
|
|
'_#2r,
|
|
|
|
T
|
|
|
|
]
|
|
|
|
|
2018-02-22 17:46:02 -06:00
|
|
|
note: No external requirements
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:95: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));
|
2018-02-22 17:46:02 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: defining type: DefId(0/1:34 ~ projection_one_region_trait_bound_static_closure[317d]::one_region[0]::{{closure}}[0]) with closure substs [
|
|
|
|
'_#1r,
|
|
|
|
T,
|
|
|
|
i32,
|
|
|
|
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T))
|
|
|
|
]
|
2018-08-27 14:10:05 -05:00
|
|
|
= note: late-bound region ReFree(DefId(0/0:12 ~ projection_one_region_trait_bound_static_closure[317d]::one_region[0]), BrNamed(crate0:DefIndex(1:33), T)) is '_#3r
|
2018-02-22 17:46:02 -06:00
|
|
|
|
2017-12-05 12:15:23 -06:00
|
|
|
note: No external requirements
|
2018-04-13 19:21:23 -05:00
|
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:87:1
|
2017-12-05 12:15:23 -06:00
|
|
|
|
|
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>,
|
|
|
|
LL | | {
|
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));
|
|
|
|
LL | | }
|
2017-12-05 12:15:23 -06:00
|
|
|
| |_^
|
|
|
|
|
|
|
|
|
= note: defining type: DefId(0/0:12 ~ projection_one_region_trait_bound_static_closure[317d]::one_region[0]) with substs [
|
|
|
|
'_#1r,
|
|
|
|
T
|
|
|
|
]
|
|
|
|
|