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 other types implement trait `Copy`:
17 note: required by a bound in `assert_copy`
18 --> $DIR/kindck-copy.rs:5:18
20 LL | fn assert_copy<T:Copy>() { }
21 | ^^^^ required by this bound in `assert_copy`
23 error[E0277]: the trait bound `&'a mut isize: Copy` is not satisfied
24 --> $DIR/kindck-copy.rs:28:19
26 LL | assert_copy::<&'a mut isize>();
27 | ^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut isize`
29 = help: the following other types implement trait `Copy`:
39 note: required by a bound in `assert_copy`
40 --> $DIR/kindck-copy.rs:5:18
42 LL | fn assert_copy<T:Copy>() { }
43 | ^^^^ required by this bound in `assert_copy`
45 error[E0277]: the trait bound `Box<isize>: Copy` is not satisfied
46 --> $DIR/kindck-copy.rs:31:19
48 LL | assert_copy::<Box<isize>>();
49 | ^^^^^^^^^^ the trait `Copy` is not implemented for `Box<isize>`
51 note: required by a bound in `assert_copy`
52 --> $DIR/kindck-copy.rs:5:18
54 LL | fn assert_copy<T:Copy>() { }
55 | ^^^^ required by this bound in `assert_copy`
57 error[E0277]: the trait bound `String: Copy` is not satisfied
58 --> $DIR/kindck-copy.rs:32:19
60 LL | assert_copy::<String>();
61 | ^^^^^^ the trait `Copy` is not implemented for `String`
63 note: required by a bound in `assert_copy`
64 --> $DIR/kindck-copy.rs:5:18
66 LL | fn assert_copy<T:Copy>() { }
67 | ^^^^ required by this bound in `assert_copy`
69 error[E0277]: the trait bound `Vec<isize>: Copy` is not satisfied
70 --> $DIR/kindck-copy.rs:33:19
72 LL | assert_copy::<Vec<isize> >();
73 | ^^^^^^^^^^ the trait `Copy` is not implemented for `Vec<isize>`
75 note: required by a bound in `assert_copy`
76 --> $DIR/kindck-copy.rs:5:18
78 LL | fn assert_copy<T:Copy>() { }
79 | ^^^^ required by this bound in `assert_copy`
81 error[E0277]: the trait bound `Box<&'a mut isize>: Copy` is not satisfied
82 --> $DIR/kindck-copy.rs:34:19
84 LL | assert_copy::<Box<&'a mut isize>>();
85 | ^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<&'a mut isize>`
87 note: required by a bound in `assert_copy`
88 --> $DIR/kindck-copy.rs:5:18
90 LL | fn assert_copy<T:Copy>() { }
91 | ^^^^ required by this bound in `assert_copy`
93 error[E0277]: the trait bound `Box<dyn Dummy>: Copy` is not satisfied
94 --> $DIR/kindck-copy.rs:42:5
96 LL | assert_copy::<Box<dyn Dummy>>();
97 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy>`
99 note: required by a bound in `assert_copy`
100 --> $DIR/kindck-copy.rs:5:18
102 LL | fn assert_copy<T:Copy>() { }
103 | ^^^^ required by this bound in `assert_copy`
105 error[E0277]: the trait bound `Box<dyn Dummy + Send>: Copy` is not satisfied
106 --> $DIR/kindck-copy.rs:43:5
108 LL | assert_copy::<Box<dyn Dummy + Send>>();
109 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy + Send>`
111 note: required by a bound in `assert_copy`
112 --> $DIR/kindck-copy.rs:5:18
114 LL | fn assert_copy<T:Copy>() { }
115 | ^^^^ required by this bound in `assert_copy`
117 error[E0277]: the trait bound `&'a mut (dyn Dummy + Send + 'a): Copy` is not satisfied
118 --> $DIR/kindck-copy.rs:46:19
120 LL | assert_copy::<&'a mut (dyn Dummy + Send)>();
121 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut (dyn Dummy + Send + 'a)`
123 note: required by a bound in `assert_copy`
124 --> $DIR/kindck-copy.rs:5:18
126 LL | fn assert_copy<T:Copy>() { }
127 | ^^^^ required by this bound in `assert_copy`
129 error[E0277]: the trait bound `MyNoncopyStruct: Copy` is not satisfied
130 --> $DIR/kindck-copy.rs:64:19
132 LL | assert_copy::<MyNoncopyStruct>();
133 | ^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `MyNoncopyStruct`
135 note: required by a bound in `assert_copy`
136 --> $DIR/kindck-copy.rs:5:18
138 LL | fn assert_copy<T:Copy>() { }
139 | ^^^^ required by this bound in `assert_copy`
141 error[E0277]: the trait bound `Rc<isize>: Copy` is not satisfied
142 --> $DIR/kindck-copy.rs:67:19
144 LL | assert_copy::<Rc<isize>>();
145 | ^^^^^^^^^ the trait `Copy` is not implemented for `Rc<isize>`
147 note: required by a bound in `assert_copy`
148 --> $DIR/kindck-copy.rs:5:18
150 LL | fn assert_copy<T:Copy>() { }
151 | ^^^^ required by this bound in `assert_copy`
153 error: aborting due to 11 previous errors
155 For more information about this error, try `rustc --explain E0277`.