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 = help: the following implementations were found:
13 note: required by a bound in `assert_copy`
14 --> $DIR/kindck-copy.rs:5:18
16 LL | fn assert_copy<T:Copy>() { }
17 | ^^^^ required by this bound in `assert_copy`
19 error[E0277]: the trait bound `&'a mut isize: Copy` is not satisfied
20 --> $DIR/kindck-copy.rs:28:19
22 LL | assert_copy::<&'a mut isize>();
23 | ^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut isize`
25 = help: the following implementations were found:
31 note: required by a bound in `assert_copy`
32 --> $DIR/kindck-copy.rs:5:18
34 LL | fn assert_copy<T:Copy>() { }
35 | ^^^^ required by this bound in `assert_copy`
37 error[E0277]: the trait bound `Box<isize>: Copy` is not satisfied
38 --> $DIR/kindck-copy.rs:31:19
40 LL | assert_copy::<Box<isize>>();
41 | ^^^^^^^^^^ the trait `Copy` is not implemented for `Box<isize>`
43 note: required by a bound in `assert_copy`
44 --> $DIR/kindck-copy.rs:5:18
46 LL | fn assert_copy<T:Copy>() { }
47 | ^^^^ required by this bound in `assert_copy`
49 error[E0277]: the trait bound `String: Copy` is not satisfied
50 --> $DIR/kindck-copy.rs:32:19
52 LL | assert_copy::<String>();
53 | ^^^^^^ the trait `Copy` is not implemented for `String`
55 note: required by a bound in `assert_copy`
56 --> $DIR/kindck-copy.rs:5:18
58 LL | fn assert_copy<T:Copy>() { }
59 | ^^^^ required by this bound in `assert_copy`
61 error[E0277]: the trait bound `Vec<isize>: Copy` is not satisfied
62 --> $DIR/kindck-copy.rs:33:19
64 LL | assert_copy::<Vec<isize> >();
65 | ^^^^^^^^^^ the trait `Copy` is not implemented for `Vec<isize>`
67 note: required by a bound in `assert_copy`
68 --> $DIR/kindck-copy.rs:5:18
70 LL | fn assert_copy<T:Copy>() { }
71 | ^^^^ required by this bound in `assert_copy`
73 error[E0277]: the trait bound `Box<&'a mut isize>: Copy` is not satisfied
74 --> $DIR/kindck-copy.rs:34:19
76 LL | assert_copy::<Box<&'a mut isize>>();
77 | ^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<&'a mut isize>`
79 note: required by a bound in `assert_copy`
80 --> $DIR/kindck-copy.rs:5:18
82 LL | fn assert_copy<T:Copy>() { }
83 | ^^^^ required by this bound in `assert_copy`
85 error[E0277]: the trait bound `Box<dyn Dummy>: Copy` is not satisfied
86 --> $DIR/kindck-copy.rs:42:5
88 LL | assert_copy::<Box<dyn Dummy>>();
89 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy>`
91 note: required by a bound in `assert_copy`
92 --> $DIR/kindck-copy.rs:5:18
94 LL | fn assert_copy<T:Copy>() { }
95 | ^^^^ required by this bound in `assert_copy`
97 error[E0277]: the trait bound `Box<dyn Dummy + Send>: Copy` is not satisfied
98 --> $DIR/kindck-copy.rs:43:5
100 LL | assert_copy::<Box<dyn Dummy + Send>>();
101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy + Send>`
103 note: required by a bound in `assert_copy`
104 --> $DIR/kindck-copy.rs:5:18
106 LL | fn assert_copy<T:Copy>() { }
107 | ^^^^ required by this bound in `assert_copy`
109 error[E0277]: the trait bound `&'a mut (dyn Dummy + Send + 'a): Copy` is not satisfied
110 --> $DIR/kindck-copy.rs:46:19
112 LL | assert_copy::<&'a mut (dyn Dummy + Send)>();
113 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut (dyn Dummy + Send + 'a)`
115 note: required by a bound in `assert_copy`
116 --> $DIR/kindck-copy.rs:5:18
118 LL | fn assert_copy<T:Copy>() { }
119 | ^^^^ required by this bound in `assert_copy`
121 error[E0277]: the trait bound `MyNoncopyStruct: Copy` is not satisfied
122 --> $DIR/kindck-copy.rs:64:19
124 LL | assert_copy::<MyNoncopyStruct>();
125 | ^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `MyNoncopyStruct`
127 note: required by a bound in `assert_copy`
128 --> $DIR/kindck-copy.rs:5:18
130 LL | fn assert_copy<T:Copy>() { }
131 | ^^^^ required by this bound in `assert_copy`
133 error[E0277]: the trait bound `Rc<isize>: Copy` is not satisfied
134 --> $DIR/kindck-copy.rs:67:19
136 LL | assert_copy::<Rc<isize>>();
137 | ^^^^^^^^^ the trait `Copy` is not implemented for `Rc<isize>`
139 note: required by a bound in `assert_copy`
140 --> $DIR/kindck-copy.rs:5:18
142 LL | fn assert_copy<T:Copy>() { }
143 | ^^^^ required by this bound in `assert_copy`
145 error: aborting due to 11 previous errors
147 For more information about this error, try `rustc --explain E0277`.