mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
115 lines
3.7 KiB
Plaintext
115 lines
3.7 KiB
Plaintext
note: no external requirements
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:36:29
|
|
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: defining type: no_relationships_late::<'?1, T>::{closure#0} with closure substs [
|
|
i32,
|
|
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
|
|
(),
|
|
]
|
|
= note: late-bound region is '?3
|
|
|
|
note: no external requirements
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:32:1
|
|
|
|
|
LL | / fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
LL | | where
|
|
LL | | T: Anything<'b>,
|
|
| |____________________^
|
|
|
|
|
= note: defining type: no_relationships_late::<'?1, T>
|
|
|
|
note: no external requirements
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:45:29
|
|
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: defining type: no_relationships_early::<'?1, '?2, T>::{closure#0} with closure substs [
|
|
i32,
|
|
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
|
|
(),
|
|
]
|
|
|
|
note: no external requirements
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:40:1
|
|
|
|
|
LL | / fn no_relationships_early<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
LL | | where
|
|
LL | | T: Anything<'b>,
|
|
LL | | 'a: 'a,
|
|
| |___________^
|
|
|
|
|
= note: defining type: no_relationships_early::<'?1, '?2, T>
|
|
|
|
note: no external requirements
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:64:29
|
|
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: defining type: projection_outlives::<'?1, '?2, T>::{closure#0} with closure substs [
|
|
i32,
|
|
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
|
|
(),
|
|
]
|
|
|
|
note: no external requirements
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:49:1
|
|
|
|
|
LL | / fn projection_outlives<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
LL | | where
|
|
LL | | T: Anything<'b>,
|
|
LL | | T::AssocType: 'a,
|
|
| |_____________________^
|
|
|
|
|
= note: defining type: projection_outlives::<'?1, '?2, T>
|
|
|
|
note: no external requirements
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:73:29
|
|
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: defining type: elements_outlive::<'?1, '?2, T>::{closure#0} with closure substs [
|
|
i32,
|
|
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
|
|
(),
|
|
]
|
|
|
|
note: no external requirements
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:68:1
|
|
|
|
|
LL | / fn elements_outlive<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
|
|
LL | | where
|
|
LL | | T: Anything<'b>,
|
|
LL | | 'b: 'a,
|
|
| |___________^
|
|
|
|
|
= note: defining type: elements_outlive::<'?1, '?2, T>
|
|
|
|
note: no external requirements
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:85:29
|
|
|
|
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: defining type: one_region::<'?1, T>::{closure#0} with closure substs [
|
|
i32,
|
|
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
|
|
(),
|
|
]
|
|
|
|
note: no external requirements
|
|
--> $DIR/projection-one-region-trait-bound-static-closure.rs:77:1
|
|
|
|
|
LL | / fn one_region<'a, T>(cell: Cell<&'a ()>, t: T)
|
|
LL | | where
|
|
LL | | T: Anything<'a>,
|
|
| |____________________^
|
|
|
|
|
= note: defining type: one_region::<'?1, T>
|
|
|