1 error[E0277]: the trait bound `&'static mut isize: Copy` is not satisfied
2 --> $DIR/kindck-copy.rs:27:19
4 LL | assert_copy::<&'static mut isize>();
5 | ^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'static mut isize`
7 note: required by a bound in `assert_copy`
8 --> $DIR/kindck-copy.rs:5:18
10 LL | fn assert_copy<T:Copy>() { }
11 | ^^^^ required by this bound in `assert_copy`
12 help: consider removing the leading `&`-reference
14 LL - assert_copy::<&'static mut isize>();
15 LL + assert_copy::<isize>();
18 error[E0277]: the trait bound `&'a mut isize: Copy` is not satisfied
19 --> $DIR/kindck-copy.rs:28:19
21 LL | assert_copy::<&'a mut isize>();
22 | ^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut isize`
24 note: required by a bound in `assert_copy`
25 --> $DIR/kindck-copy.rs:5:18
27 LL | fn assert_copy<T:Copy>() { }
28 | ^^^^ required by this bound in `assert_copy`
29 help: consider removing the leading `&`-reference
31 LL - assert_copy::<&'a mut isize>();
32 LL + assert_copy::<isize>();
35 error[E0277]: the trait bound `Box<isize>: Copy` is not satisfied
36 --> $DIR/kindck-copy.rs:31:19
38 LL | assert_copy::<Box<isize>>();
39 | ^^^^^^^^^^ the trait `Copy` is not implemented for `Box<isize>`
41 note: required by a bound in `assert_copy`
42 --> $DIR/kindck-copy.rs:5:18
44 LL | fn assert_copy<T:Copy>() { }
45 | ^^^^ required by this bound in `assert_copy`
47 error[E0277]: the trait bound `String: Copy` is not satisfied
48 --> $DIR/kindck-copy.rs:32:19
50 LL | assert_copy::<String>();
51 | ^^^^^^ the trait `Copy` is not implemented for `String`
53 note: required by a bound in `assert_copy`
54 --> $DIR/kindck-copy.rs:5:18
56 LL | fn assert_copy<T:Copy>() { }
57 | ^^^^ required by this bound in `assert_copy`
59 error[E0277]: the trait bound `Vec<isize>: Copy` is not satisfied
60 --> $DIR/kindck-copy.rs:33:19
62 LL | assert_copy::<Vec<isize> >();
63 | ^^^^^^^^^^ the trait `Copy` is not implemented for `Vec<isize>`
65 note: required by a bound in `assert_copy`
66 --> $DIR/kindck-copy.rs:5:18
68 LL | fn assert_copy<T:Copy>() { }
69 | ^^^^ required by this bound in `assert_copy`
71 error[E0277]: the trait bound `Box<&'a mut isize>: Copy` is not satisfied
72 --> $DIR/kindck-copy.rs:34:19
74 LL | assert_copy::<Box<&'a mut isize>>();
75 | ^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<&'a mut isize>`
77 note: required by a bound in `assert_copy`
78 --> $DIR/kindck-copy.rs:5:18
80 LL | fn assert_copy<T:Copy>() { }
81 | ^^^^ required by this bound in `assert_copy`
83 error[E0277]: the trait bound `Box<dyn Dummy>: Copy` is not satisfied
84 --> $DIR/kindck-copy.rs:42:19
86 LL | assert_copy::<Box<dyn Dummy>>();
87 | ^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy>`
89 note: required by a bound in `assert_copy`
90 --> $DIR/kindck-copy.rs:5:18
92 LL | fn assert_copy<T:Copy>() { }
93 | ^^^^ required by this bound in `assert_copy`
95 error[E0277]: the trait bound `Box<dyn Dummy + Send>: Copy` is not satisfied
96 --> $DIR/kindck-copy.rs:43:19
98 LL | assert_copy::<Box<dyn Dummy + Send>>();
99 | ^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy + Send>`
101 note: required by a bound in `assert_copy`
102 --> $DIR/kindck-copy.rs:5:18
104 LL | fn assert_copy<T:Copy>() { }
105 | ^^^^ required by this bound in `assert_copy`
107 error[E0277]: the trait bound `&'a mut (dyn Dummy + Send + 'a): Copy` is not satisfied
108 --> $DIR/kindck-copy.rs:46:19
110 LL | assert_copy::<&'a mut (dyn Dummy + Send)>();
111 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut (dyn Dummy + Send + 'a)`
113 note: required by a bound in `assert_copy`
114 --> $DIR/kindck-copy.rs:5:18
116 LL | fn assert_copy<T:Copy>() { }
117 | ^^^^ required by this bound in `assert_copy`
119 error[E0277]: the trait bound `MyNoncopyStruct: Copy` is not satisfied
120 --> $DIR/kindck-copy.rs:64:19
122 LL | assert_copy::<MyNoncopyStruct>();
123 | ^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `MyNoncopyStruct`
125 note: required by a bound in `assert_copy`
126 --> $DIR/kindck-copy.rs:5:18
128 LL | fn assert_copy<T:Copy>() { }
129 | ^^^^ required by this bound in `assert_copy`
131 error[E0277]: the trait bound `Rc<isize>: Copy` is not satisfied
132 --> $DIR/kindck-copy.rs:67:19
134 LL | assert_copy::<Rc<isize>>();
135 | ^^^^^^^^^ the trait `Copy` is not implemented for `Rc<isize>`
137 note: required by a bound in `assert_copy`
138 --> $DIR/kindck-copy.rs:5:18
140 LL | fn assert_copy<T:Copy>() { }
141 | ^^^^ required by this bound in `assert_copy`
143 error: aborting due to 11 previous errors
145 For more information about this error, try `rustc --explain E0277`.