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