]> git.proxmox.com Git - rustc.git/blame - src/test/ui/regions/regions-bounded-by-trait-requiring-static.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / regions / regions-bounded-by-trait-requiring-static.stderr
CommitLineData
b7449926 1error[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 4LL | assert_send::<&'a isize>();
b7449926
XL
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: type must satisfy the static lifetime
8
9error[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 12LL | assert_send::<&'a str>();
b7449926
XL
13 | ^^^^^^^^^^^^^^^^^^^^^^
14 |
15 = note: type must satisfy the static lifetime
16
17error[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 20LL | assert_send::<&'a [isize]>();
b7449926
XL
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
22 |
23 = note: type must satisfy the static lifetime
24
1b1a35ee 25error[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 28LL | assert_send::<Box<&'a isize>>();
b7449926
XL
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30 |
31 = note: type must satisfy the static lifetime
32
33error[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 36LL | assert_send::<*const &'a isize>();
b7449926
XL
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38 |
39 = note: type must satisfy the static lifetime
40
41error[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 44LL | assert_send::<*mut &'a isize>();
b7449926
XL
45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46 |
47 = note: type must satisfy the static lifetime
48
49error: aborting due to 6 previous errors
50
dfeec247 51For more information about this error, try `rustc --explain E0477`.