]> git.proxmox.com Git - rustc.git/blame - src/test/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / nll / ty-outlives / projection-one-region-trait-bound-static-closure.stderr
CommitLineData
dfeec247 1note: no external requirements
0731742a 2 --> $DIR/projection-one-region-trait-bound-static-closure.rs:36:29
ff7c6d11 3 |
0531ce1d 4LL | with_signature(cell, t, |cell, t| require(cell, t));
ff7c6d11
XL
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
1b1a35ee 7 = note: defining type: no_relationships_late::<'_#1r, T>::{closure#0} with closure substs [
ff7c6d11 8 i32,
532ac7d7 9 extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T)),
ba9703b0 10 (),
ff7c6d11 11 ]
b7449926 12 = note: late-bound region is '_#3r
ff7c6d11 13
dfeec247 14note: no external requirements
0731742a 15 --> $DIR/projection-one-region-trait-bound-static-closure.rs:32:1
ff7c6d11 16 |
0531ce1d
XL
17LL | / fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
18LL | | where
19LL | | T: Anything<'b>,
20LL | | {
21LL | | with_signature(cell, t, |cell, t| require(cell, t));
22LL | | }
23 | |_^
ff7c6d11 24 |
60c5eb7d 25 = note: defining type: no_relationships_late::<'_#1r, T>
ff7c6d11 26
dfeec247 27note: no external requirements
0731742a 28 --> $DIR/projection-one-region-trait-bound-static-closure.rs:45:29
ff7c6d11 29 |
0531ce1d 30LL | with_signature(cell, t, |cell, t| require(cell, t));
ff7c6d11
XL
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
32 |
1b1a35ee 33 = note: defining type: no_relationships_early::<'_#1r, '_#2r, T>::{closure#0} with closure substs [
ff7c6d11 34 i32,
532ac7d7 35 extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
ba9703b0 36 (),
ff7c6d11
XL
37 ]
38
dfeec247 39note: no external requirements
0731742a 40 --> $DIR/projection-one-region-trait-bound-static-closure.rs:40:1
ff7c6d11 41 |
0531ce1d
XL
42LL | / fn no_relationships_early<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
43LL | | where
44LL | | T: Anything<'b>,
45LL | | 'a: 'a,
46LL | | {
47LL | | with_signature(cell, t, |cell, t| require(cell, t));
48LL | | }
49 | |_^
ff7c6d11 50 |
60c5eb7d 51 = note: defining type: no_relationships_early::<'_#1r, '_#2r, T>
ff7c6d11 52
dfeec247 53note: no external requirements
0731742a 54 --> $DIR/projection-one-region-trait-bound-static-closure.rs:64:29
ff7c6d11 55 |
0531ce1d 56LL | with_signature(cell, t, |cell, t| require(cell, t));
ff7c6d11
XL
57 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
58 |
1b1a35ee 59 = note: defining type: projection_outlives::<'_#1r, '_#2r, T>::{closure#0} with closure substs [
ff7c6d11 60 i32,
532ac7d7 61 extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
ba9703b0 62 (),
ff7c6d11
XL
63 ]
64
dfeec247 65note: no external requirements
0731742a 66 --> $DIR/projection-one-region-trait-bound-static-closure.rs:49:1
ff7c6d11 67 |
0531ce1d
XL
68LL | / fn projection_outlives<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
69LL | | where
70LL | | T: Anything<'b>,
71LL | | T::AssocType: 'a,
72... |
73LL | | with_signature(cell, t, |cell, t| require(cell, t));
74LL | | }
ff7c6d11
XL
75 | |_^
76 |
60c5eb7d 77 = note: defining type: projection_outlives::<'_#1r, '_#2r, T>
ff7c6d11 78
dfeec247 79note: no external requirements
0731742a 80 --> $DIR/projection-one-region-trait-bound-static-closure.rs:73:29
ff7c6d11 81 |
0531ce1d
XL
82LL | with_signature(cell, t, |cell, t| require(cell, t));
83 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
ff7c6d11 84 |
1b1a35ee 85 = note: defining type: elements_outlive::<'_#1r, '_#2r, T>::{closure#0} with closure substs [
0531ce1d 86 i32,
532ac7d7 87 extern "rust-call" fn((std::cell::Cell<&'_#3r ()>, T)),
ba9703b0 88 (),
ff7c6d11
XL
89 ]
90
dfeec247 91note: no external requirements
0731742a 92 --> $DIR/projection-one-region-trait-bound-static-closure.rs:68:1
ff7c6d11 93 |
0531ce1d
XL
94LL | / fn elements_outlive<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
95LL | | where
96LL | | T: Anything<'b>,
97LL | | 'b: 'a,
98LL | | {
99LL | | with_signature(cell, t, |cell, t| require(cell, t));
100LL | | }
ff7c6d11
XL
101 | |_^
102 |
60c5eb7d 103 = note: defining type: elements_outlive::<'_#1r, '_#2r, T>
ff7c6d11 104
dfeec247 105note: no external requirements
0731742a 106 --> $DIR/projection-one-region-trait-bound-static-closure.rs:85:29
ff7c6d11 107 |
0531ce1d
XL
108LL | with_signature(cell, t, |cell, t| require(cell, t));
109 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
ff7c6d11 110 |
1b1a35ee 111 = note: defining type: one_region::<'_#1r, T>::{closure#0} with closure substs [
0531ce1d 112 i32,
532ac7d7 113 extern "rust-call" fn((std::cell::Cell<&'_#2r ()>, T)),
ba9703b0 114 (),
ff7c6d11
XL
115 ]
116
dfeec247 117note: no external requirements
0731742a 118 --> $DIR/projection-one-region-trait-bound-static-closure.rs:77:1
ff7c6d11 119 |
0531ce1d
XL
120LL | / fn one_region<'a, T>(cell: Cell<&'a ()>, t: T)
121LL | | where
122LL | | T: Anything<'a>,
123LL | | {
ff7c6d11 124... |
0531ce1d
XL
125LL | | with_signature(cell, t, |cell, t| require(cell, t));
126LL | | }
ff7c6d11
XL
127 | |_^
128 |
60c5eb7d 129 = note: defining type: one_region::<'_#1r, T>
ff7c6d11 130