fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0477]: the type `&'a isize` does not fulfill the required lifetime 2 --> $DIR/regions-bounded-by-trait-requiring-static.rs:22:5 3 | 4LL | assert_send::<&'a isize>(); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: type must satisfy the static lifetime 8 9error[E0477]: the type `&'a str` does not fulfill the required lifetime 10 --> $DIR/regions-bounded-by-trait-requiring-static.rs:26:5 11 | 12LL | assert_send::<&'a str>(); 13 | ^^^^^^^^^^^^^^^^^^^^^^ 14 | 15 = note: type must satisfy the static lifetime 16 17error[E0477]: the type `&'a [isize]` does not fulfill the required lifetime 18 --> $DIR/regions-bounded-by-trait-requiring-static.rs:30:5 19 | 20LL | assert_send::<&'a [isize]>(); 21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 22 | 23 = note: type must satisfy the static lifetime 24 25error[E0477]: the type `std::boxed::Box<&'a isize>` does not fulfill the required lifetime 26 --> $DIR/regions-bounded-by-trait-requiring-static.rs:44:5 27 | 28LL | assert_send::<Box<&'a isize>>(); 29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 30 | 31 = note: type must satisfy the static lifetime 32 33error[E0477]: the type `*const &'a isize` does not fulfill the required lifetime 34 --> $DIR/regions-bounded-by-trait-requiring-static.rs:55:5 35 | 36LL | assert_send::<*const &'a isize>(); 37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 38 | 39 = note: type must satisfy the static lifetime 40 41error[E0477]: the type `*mut &'a isize` does not fulfill the required lifetime 42 --> $DIR/regions-bounded-by-trait-requiring-static.rs:59:5 43 | 44LL | assert_send::<*mut &'a isize>(); 45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 46 | 47 = note: type must satisfy the static lifetime 48 49error: aborting due to 6 previous errors 50