rust/src/test/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr

126 lines
4.0 KiB
Plaintext
Raw Normal View History

2017-12-05 12:15:23 -06:00
note: No external requirements
2018-12-25 09:56:47 -06:00
--> $DIR/projection-one-region-trait-bound-static-closure.rs:36: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: no_relationships_late::<'_#1r, T>::{{closure}}#0 with closure substs [
2017-12-05 12:15:23 -06:00
i32,
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T)),
2017-12-05 12:15:23 -06:00
]
2018-09-07 12:35:16 -05:00
= note: late-bound region is '_#3r
2017-12-05 12:15:23 -06:00
note: No external requirements
2018-12-25 09:56:47 -06:00
--> $DIR/projection-one-region-trait-bound-static-closure.rs:32: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 | | }
| |_^
2017-12-05 12:15:23 -06:00
|
= note: defining type: no_relationships_late::<'_#1r, T>
2017-12-05 12:15:23 -06:00
note: No external requirements
2018-12-25 09:56:47 -06:00
--> $DIR/projection-one-region-trait-bound-static-closure.rs:45: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
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: defining type: no_relationships_early::<'_#1r, '_#2r, T>::{{closure}}#0 with closure substs [
2017-12-05 12:15:23 -06:00
i32,
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
2017-12-05 12:15:23 -06:00
]
note: No external requirements
2018-12-25 09:56:47 -06:00
--> $DIR/projection-one-region-trait-bound-static-closure.rs:40: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: no_relationships_early::<'_#1r, '_#2r, T>
2017-12-05 12:15:23 -06:00
note: No external requirements
2018-12-25 09:56:47 -06:00
--> $DIR/projection-one-region-trait-bound-static-closure.rs:64:29
|
2018-02-24 17:59:34 -06:00
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: defining type: projection_outlives::<'_#1r, '_#2r, T>::{{closure}}#0 with closure substs [
i32,
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
]
2017-12-05 12:15:23 -06:00
note: No external requirements
2018-12-25 09:56:47 -06:00
--> $DIR/projection-one-region-trait-bound-static-closure.rs:49: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: projection_outlives::<'_#1r, '_#2r, T>
2017-12-05 12:15:23 -06:00
note: No external requirements
2018-12-25 09:56:47 -06:00
--> $DIR/projection-one-region-trait-bound-static-closure.rs:73:29
|
2018-02-24 17:59:34 -06:00
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: defining type: elements_outlive::<'_#1r, '_#2r, T>::{{closure}}#0 with closure substs [
i32,
extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
]
2017-12-05 12:15:23 -06:00
note: No external requirements
2018-12-25 09:56:47 -06:00
--> $DIR/projection-one-region-trait-bound-static-closure.rs:68: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: elements_outlive::<'_#1r, '_#2r, T>
2017-12-05 12:15:23 -06:00
note: No external requirements
2018-12-25 09:56:47 -06:00
--> $DIR/projection-one-region-trait-bound-static-closure.rs:85:29
|
2018-02-24 17:59:34 -06:00
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: defining type: one_region::<'_#1r, T>::{{closure}}#0 with closure substs [
i32,
extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T)),
]
2017-12-05 12:15:23 -06:00
note: No external requirements
2018-12-25 09:56:47 -06:00
--> $DIR/projection-one-region-trait-bound-static-closure.rs:77: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: one_region::<'_#1r, T>
2017-12-05 12:15:23 -06:00