1 error[E0277]: the trait bound `&'static mut isize: std::marker::Copy` is not satisfied
2 --> $DIR/kindck-copy.rs:27:19
4 LL | fn assert_copy<T:Copy>() { }
5 | ----------- ---- required by this bound in `assert_copy`
7 LL | assert_copy::<&'static mut isize>();
8 | ^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `&'static mut isize`
10 = help: the following implementations were found:
11 <isize as std::marker::Copy>
13 error[E0277]: the trait bound `&'a mut isize: std::marker::Copy` is not satisfied
14 --> $DIR/kindck-copy.rs:28:19
16 LL | fn assert_copy<T:Copy>() { }
17 | ----------- ---- required by this bound in `assert_copy`
19 LL | assert_copy::<&'a mut isize>();
20 | ^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `&'a mut isize`
22 = help: the following implementations were found:
23 <isize as std::marker::Copy>
25 error[E0277]: the trait bound `std::boxed::Box<isize>: std::marker::Copy` is not satisfied
26 --> $DIR/kindck-copy.rs:31:19
28 LL | fn assert_copy<T:Copy>() { }
29 | ----------- ---- required by this bound in `assert_copy`
31 LL | assert_copy::<Box<isize>>();
32 | ^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<isize>`
34 error[E0277]: the trait bound `std::string::String: std::marker::Copy` is not satisfied
35 --> $DIR/kindck-copy.rs:32:19
37 LL | fn assert_copy<T:Copy>() { }
38 | ----------- ---- required by this bound in `assert_copy`
40 LL | assert_copy::<String>();
41 | ^^^^^^ the trait `std::marker::Copy` is not implemented for `std::string::String`
43 error[E0277]: the trait bound `std::vec::Vec<isize>: std::marker::Copy` is not satisfied
44 --> $DIR/kindck-copy.rs:33:19
46 LL | fn assert_copy<T:Copy>() { }
47 | ----------- ---- required by this bound in `assert_copy`
49 LL | assert_copy::<Vec<isize> >();
50 | ^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::vec::Vec<isize>`
52 error[E0277]: the trait bound `std::boxed::Box<&'a mut isize>: std::marker::Copy` is not satisfied
53 --> $DIR/kindck-copy.rs:34:19
55 LL | fn assert_copy<T:Copy>() { }
56 | ----------- ---- required by this bound in `assert_copy`
58 LL | assert_copy::<Box<&'a mut isize>>();
59 | ^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<&'a mut isize>`
61 error[E0277]: the trait bound `std::boxed::Box<dyn Dummy>: std::marker::Copy` is not satisfied
62 --> $DIR/kindck-copy.rs:42:5
64 LL | fn assert_copy<T:Copy>() { }
65 | ----------- ---- required by this bound in `assert_copy`
67 LL | assert_copy::<Box<dyn Dummy>>();
68 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<dyn Dummy>`
70 error[E0277]: the trait bound `std::boxed::Box<dyn Dummy + std::marker::Send>: std::marker::Copy` is not satisfied
71 --> $DIR/kindck-copy.rs:43:5
73 LL | fn assert_copy<T:Copy>() { }
74 | ----------- ---- required by this bound in `assert_copy`
76 LL | assert_copy::<Box<dyn Dummy + Send>>();
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<dyn Dummy + std::marker::Send>`
79 error[E0277]: the trait bound `&'a mut (dyn Dummy + std::marker::Send + 'a): std::marker::Copy` is not satisfied
80 --> $DIR/kindck-copy.rs:46:19
82 LL | fn assert_copy<T:Copy>() { }
83 | ----------- ---- required by this bound in `assert_copy`
85 LL | assert_copy::<&'a mut (dyn Dummy + Send)>();
86 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `&'a mut (dyn Dummy + std::marker::Send + 'a)`
88 error[E0277]: the trait bound `MyNoncopyStruct: std::marker::Copy` is not satisfied
89 --> $DIR/kindck-copy.rs:64:19
91 LL | fn assert_copy<T:Copy>() { }
92 | ----------- ---- required by this bound in `assert_copy`
94 LL | assert_copy::<MyNoncopyStruct>();
95 | ^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `MyNoncopyStruct`
97 error[E0277]: the trait bound `std::rc::Rc<isize>: std::marker::Copy` is not satisfied
98 --> $DIR/kindck-copy.rs:67:19
100 LL | fn assert_copy<T:Copy>() { }
101 | ----------- ---- required by this bound in `assert_copy`
103 LL | assert_copy::<Rc<isize>>();
104 | ^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::rc::Rc<isize>`
106 error: aborting due to 11 previous errors
108 For more information about this error, try `rustc --explain E0277`.