1 error[E0277]: the trait bound `&'static mut isize: std::marker::Copy` is not satisfied
2 --> $DIR/kindck-copy.rs:37:5
4 LL | assert_copy::<&'static mut isize>(); //~ ERROR : std::marker::Copy` is not satisfied
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `&'static mut isize`
7 = help: the following implementations were found:
8 <isize as std::marker::Copy>
9 note: required by `assert_copy`
10 --> $DIR/kindck-copy.rs:15:1
12 LL | fn assert_copy<T:Copy>() { }
13 | ^^^^^^^^^^^^^^^^^^^^^^^^
15 error[E0277]: the trait bound `&'a mut isize: std::marker::Copy` is not satisfied
16 --> $DIR/kindck-copy.rs:38:5
18 LL | assert_copy::<&'a mut isize>(); //~ ERROR : std::marker::Copy` is not satisfied
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `&'a mut isize`
21 = help: the following implementations were found:
22 <isize as std::marker::Copy>
23 note: required by `assert_copy`
24 --> $DIR/kindck-copy.rs:15:1
26 LL | fn assert_copy<T:Copy>() { }
27 | ^^^^^^^^^^^^^^^^^^^^^^^^
29 error[E0277]: the trait bound `std::boxed::Box<isize>: std::marker::Copy` is not satisfied
30 --> $DIR/kindck-copy.rs:41:5
32 LL | assert_copy::<Box<isize>>(); //~ ERROR : std::marker::Copy` is not satisfied
33 | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<isize>`
35 note: required by `assert_copy`
36 --> $DIR/kindck-copy.rs:15:1
38 LL | fn assert_copy<T:Copy>() { }
39 | ^^^^^^^^^^^^^^^^^^^^^^^^
41 error[E0277]: the trait bound `std::string::String: std::marker::Copy` is not satisfied
42 --> $DIR/kindck-copy.rs:42:5
44 LL | assert_copy::<String>(); //~ ERROR : std::marker::Copy` is not satisfied
45 | ^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::string::String`
47 note: required by `assert_copy`
48 --> $DIR/kindck-copy.rs:15:1
50 LL | fn assert_copy<T:Copy>() { }
51 | ^^^^^^^^^^^^^^^^^^^^^^^^
53 error[E0277]: the trait bound `std::vec::Vec<isize>: std::marker::Copy` is not satisfied
54 --> $DIR/kindck-copy.rs:43:5
56 LL | assert_copy::<Vec<isize> >(); //~ ERROR : std::marker::Copy` is not satisfied
57 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::vec::Vec<isize>`
59 note: required by `assert_copy`
60 --> $DIR/kindck-copy.rs:15:1
62 LL | fn assert_copy<T:Copy>() { }
63 | ^^^^^^^^^^^^^^^^^^^^^^^^
65 error[E0277]: the trait bound `std::boxed::Box<&'a mut isize>: std::marker::Copy` is not satisfied
66 --> $DIR/kindck-copy.rs:44:5
68 LL | assert_copy::<Box<&'a mut isize>>(); //~ ERROR : std::marker::Copy` is not satisfied
69 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<&'a mut isize>`
71 note: required by `assert_copy`
72 --> $DIR/kindck-copy.rs:15:1
74 LL | fn assert_copy<T:Copy>() { }
75 | ^^^^^^^^^^^^^^^^^^^^^^^^
77 error[E0277]: the trait bound `std::boxed::Box<dyn Dummy>: std::marker::Copy` is not satisfied
78 --> $DIR/kindck-copy.rs:52:5
80 LL | assert_copy::<Box<Dummy>>(); //~ ERROR : std::marker::Copy` is not satisfied
81 | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<dyn Dummy>`
83 note: required by `assert_copy`
84 --> $DIR/kindck-copy.rs:15:1
86 LL | fn assert_copy<T:Copy>() { }
87 | ^^^^^^^^^^^^^^^^^^^^^^^^
89 error[E0277]: the trait bound `std::boxed::Box<dyn Dummy + std::marker::Send>: std::marker::Copy` is not satisfied
90 --> $DIR/kindck-copy.rs:53:5
92 LL | assert_copy::<Box<Dummy+Send>>(); //~ ERROR : std::marker::Copy` is not satisfied
93 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::boxed::Box<dyn Dummy + std::marker::Send>`
95 note: required by `assert_copy`
96 --> $DIR/kindck-copy.rs:15:1
98 LL | fn assert_copy<T:Copy>() { }
99 | ^^^^^^^^^^^^^^^^^^^^^^^^
101 error[E0277]: the trait bound `&'a mut (dyn Dummy + std::marker::Send + 'a): std::marker::Copy` is not satisfied
102 --> $DIR/kindck-copy.rs:56:5
104 LL | assert_copy::<&'a mut (Dummy+Send)>(); //~ ERROR : std::marker::Copy` is not satisfied
105 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `&'a mut (dyn Dummy + std::marker::Send + 'a)`
107 note: required by `assert_copy`
108 --> $DIR/kindck-copy.rs:15:1
110 LL | fn assert_copy<T:Copy>() { }
111 | ^^^^^^^^^^^^^^^^^^^^^^^^
113 error[E0277]: the trait bound `MyNoncopyStruct: std::marker::Copy` is not satisfied
114 --> $DIR/kindck-copy.rs:74:5
116 LL | assert_copy::<MyNoncopyStruct>(); //~ ERROR : std::marker::Copy` is not satisfied
117 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `MyNoncopyStruct`
119 note: required by `assert_copy`
120 --> $DIR/kindck-copy.rs:15:1
122 LL | fn assert_copy<T:Copy>() { }
123 | ^^^^^^^^^^^^^^^^^^^^^^^^
125 error[E0277]: the trait bound `std::rc::Rc<isize>: std::marker::Copy` is not satisfied
126 --> $DIR/kindck-copy.rs:77:5
128 LL | assert_copy::<Rc<isize>>(); //~ ERROR : std::marker::Copy` is not satisfied
129 | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `std::rc::Rc<isize>`
131 note: required by `assert_copy`
132 --> $DIR/kindck-copy.rs:15:1
134 LL | fn assert_copy<T:Copy>() { }
135 | ^^^^^^^^^^^^^^^^^^^^^^^^
137 error: aborting due to 11 previous errors
139 For more information about this error, try `rustc --explain E0277`.