]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0477]: the type `&'a isize` does not fulfill the required lifetime |
0731742a | 2 | --> $DIR/regions-bounded-by-trait-requiring-static.rs:22:5 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | assert_send::<&'a isize>(); |
b7449926 XL |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^ |
6 | | | |
7 | = note: type must satisfy the static lifetime | |
8 | ||
9 | error[E0477]: the type `&'a str` does not fulfill the required lifetime | |
0731742a | 10 | --> $DIR/regions-bounded-by-trait-requiring-static.rs:26:5 |
b7449926 | 11 | | |
532ac7d7 | 12 | LL | assert_send::<&'a str>(); |
b7449926 XL |
13 | | ^^^^^^^^^^^^^^^^^^^^^^ |
14 | | | |
15 | = note: type must satisfy the static lifetime | |
16 | ||
17 | error[E0477]: the type `&'a [isize]` does not fulfill the required lifetime | |
0731742a | 18 | --> $DIR/regions-bounded-by-trait-requiring-static.rs:30:5 |
b7449926 | 19 | | |
532ac7d7 | 20 | LL | assert_send::<&'a [isize]>(); |
b7449926 XL |
21 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
22 | | | |
23 | = note: type must satisfy the static lifetime | |
24 | ||
1b1a35ee | 25 | error[E0477]: the type `Box<&'a isize>` does not fulfill the required lifetime |
0731742a | 26 | --> $DIR/regions-bounded-by-trait-requiring-static.rs:44:5 |
b7449926 | 27 | | |
532ac7d7 | 28 | LL | assert_send::<Box<&'a isize>>(); |
b7449926 XL |
29 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
30 | | | |
31 | = note: type must satisfy the static lifetime | |
32 | ||
33 | error[E0477]: the type `*const &'a isize` does not fulfill the required lifetime | |
0731742a | 34 | --> $DIR/regions-bounded-by-trait-requiring-static.rs:55:5 |
b7449926 | 35 | | |
532ac7d7 | 36 | LL | assert_send::<*const &'a isize>(); |
b7449926 XL |
37 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
38 | | | |
39 | = note: type must satisfy the static lifetime | |
40 | ||
41 | error[E0477]: the type `*mut &'a isize` does not fulfill the required lifetime | |
0731742a | 42 | --> $DIR/regions-bounded-by-trait-requiring-static.rs:59:5 |
b7449926 | 43 | | |
532ac7d7 | 44 | LL | assert_send::<*mut &'a isize>(); |
b7449926 XL |
45 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
46 | | | |
47 | = note: type must satisfy the static lifetime | |
48 | ||
49 | error: aborting due to 6 previous errors | |
50 | ||
dfeec247 | 51 | For more information about this error, try `rustc --explain E0477`. |