]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0277]: the trait bound `&'static mut isize: std::marker::Copy` is not satisfied |
0731742a | 2 | --> $DIR/kindck-copy.rs:27:5 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | assert_copy::<&'static mut isize>(); |
b7449926 XL |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `&'static mut isize` |
6 | | | |
7 | = help: the following implementations were found: | |
8 | <isize as std::marker::Copy> | |
9 | note: required by `assert_copy` | |
0731742a | 10 | --> $DIR/kindck-copy.rs:5:1 |
b7449926 XL |
11 | | |
12 | LL | fn assert_copy<T:Copy>() { } | |
13 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
14 | ||
15 | error[E0277]: the trait bound `&'a mut isize: std::marker::Copy` is not satisfied | |
0731742a | 16 | --> $DIR/kindck-copy.rs:28:5 |
b7449926 | 17 | | |
532ac7d7 | 18 | LL | assert_copy::<&'a mut isize>(); |
b7449926 XL |
19 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `&'a mut isize` |
20 | | | |
21 | = help: the following implementations were found: | |
22 | <isize as std::marker::Copy> | |
23 | note: required by `assert_copy` | |
0731742a | 24 | --> $DIR/kindck-copy.rs:5:1 |
b7449926 XL |
25 | | |
26 | LL | fn assert_copy<T:Copy>() { } | |
27 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
28 | ||
29 | error[E0277]: the trait bound `std::boxed::Box<isize>: std::marker::Copy` is not satisfied | |
0731742a | 30 | --> $DIR/kindck-copy.rs:31:5 |
b7449926 | 31 | | |
532ac7d7 | 32 | LL | assert_copy::<Box<isize>>(); |
b7449926 XL |
33 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<isize>` |
34 | | | |
35 | note: required by `assert_copy` | |
0731742a | 36 | --> $DIR/kindck-copy.rs:5:1 |
b7449926 XL |
37 | | |
38 | LL | fn assert_copy<T:Copy>() { } | |
39 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
40 | ||
41 | error[E0277]: the trait bound `std::string::String: std::marker::Copy` is not satisfied | |
0731742a | 42 | --> $DIR/kindck-copy.rs:32:5 |
b7449926 | 43 | | |
532ac7d7 | 44 | LL | assert_copy::<String>(); |
b7449926 XL |
45 | | ^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::string::String` |
46 | | | |
47 | note: required by `assert_copy` | |
0731742a | 48 | --> $DIR/kindck-copy.rs:5:1 |
b7449926 XL |
49 | | |
50 | LL | fn assert_copy<T:Copy>() { } | |
51 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
52 | ||
53 | error[E0277]: the trait bound `std::vec::Vec<isize>: std::marker::Copy` is not satisfied | |
0731742a | 54 | --> $DIR/kindck-copy.rs:33:5 |
b7449926 | 55 | | |
532ac7d7 | 56 | LL | assert_copy::<Vec<isize> >(); |
b7449926 XL |
57 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::vec::Vec<isize>` |
58 | | | |
59 | note: required by `assert_copy` | |
0731742a | 60 | --> $DIR/kindck-copy.rs:5:1 |
b7449926 XL |
61 | | |
62 | LL | fn assert_copy<T:Copy>() { } | |
63 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
64 | ||
65 | error[E0277]: the trait bound `std::boxed::Box<&'a mut isize>: std::marker::Copy` is not satisfied | |
0731742a | 66 | --> $DIR/kindck-copy.rs:34:5 |
b7449926 | 67 | | |
532ac7d7 | 68 | LL | assert_copy::<Box<&'a mut isize>>(); |
b7449926 XL |
69 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<&'a mut isize>` |
70 | | | |
71 | note: required by `assert_copy` | |
0731742a | 72 | --> $DIR/kindck-copy.rs:5:1 |
b7449926 XL |
73 | | |
74 | LL | fn assert_copy<T:Copy>() { } | |
75 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
76 | ||
77 | error[E0277]: the trait bound `std::boxed::Box<dyn Dummy>: std::marker::Copy` is not satisfied | |
0731742a | 78 | --> $DIR/kindck-copy.rs:42:5 |
b7449926 | 79 | | |
532ac7d7 | 80 | LL | assert_copy::<Box<Dummy>>(); |
b7449926 XL |
81 | | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<dyn Dummy>` |
82 | | | |
83 | note: required by `assert_copy` | |
0731742a | 84 | --> $DIR/kindck-copy.rs:5:1 |
b7449926 XL |
85 | | |
86 | LL | fn assert_copy<T:Copy>() { } | |
87 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
88 | ||
89 | error[E0277]: the trait bound `std::boxed::Box<dyn Dummy + std::marker::Send>: std::marker::Copy` is not satisfied | |
0731742a | 90 | --> $DIR/kindck-copy.rs:43:5 |
b7449926 | 91 | | |
532ac7d7 | 92 | LL | assert_copy::<Box<Dummy+Send>>(); |
b7449926 XL |
93 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<dyn Dummy + std::marker::Send>` |
94 | | | |
95 | note: required by `assert_copy` | |
0731742a | 96 | --> $DIR/kindck-copy.rs:5:1 |
b7449926 XL |
97 | | |
98 | LL | fn assert_copy<T:Copy>() { } | |
99 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
100 | ||
101 | error[E0277]: the trait bound `&'a mut (dyn Dummy + std::marker::Send + 'a): std::marker::Copy` is not satisfied | |
0731742a | 102 | --> $DIR/kindck-copy.rs:46:5 |
b7449926 | 103 | | |
532ac7d7 | 104 | LL | assert_copy::<&'a mut (Dummy+Send)>(); |
b7449926 XL |
105 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `&'a mut (dyn Dummy + std::marker::Send + 'a)` |
106 | | | |
107 | note: required by `assert_copy` | |
0731742a | 108 | --> $DIR/kindck-copy.rs:5:1 |
b7449926 XL |
109 | | |
110 | LL | fn assert_copy<T:Copy>() { } | |
111 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
112 | ||
113 | error[E0277]: the trait bound `MyNoncopyStruct: std::marker::Copy` is not satisfied | |
0731742a | 114 | --> $DIR/kindck-copy.rs:64:5 |
b7449926 | 115 | | |
532ac7d7 | 116 | LL | assert_copy::<MyNoncopyStruct>(); |
b7449926 XL |
117 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `MyNoncopyStruct` |
118 | | | |
119 | note: required by `assert_copy` | |
0731742a | 120 | --> $DIR/kindck-copy.rs:5:1 |
b7449926 XL |
121 | | |
122 | LL | fn assert_copy<T:Copy>() { } | |
123 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
124 | ||
125 | error[E0277]: the trait bound `std::rc::Rc<isize>: std::marker::Copy` is not satisfied | |
0731742a | 126 | --> $DIR/kindck-copy.rs:67:5 |
b7449926 | 127 | | |
532ac7d7 | 128 | LL | assert_copy::<Rc<isize>>(); |
b7449926 XL |
129 | | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::rc::Rc<isize>` |
130 | | | |
131 | note: required by `assert_copy` | |
0731742a | 132 | --> $DIR/kindck-copy.rs:5:1 |
b7449926 XL |
133 | | |
134 | LL | fn assert_copy<T:Copy>() { } | |
135 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
136 | ||
137 | error: aborting due to 11 previous errors | |
138 | ||
139 | For more information about this error, try `rustc --explain E0277`. |