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