11error[E0277]: the trait bound `&'static mut isize: Copy` is not satisfied
2- --> $DIR/kindck-copy .rs:27:19
2+ --> $DIR/basic-copyable-types .rs:27:19
33 |
44LL | assert_copy::<&'static mut isize>();
55 | ^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'static mut isize`
66 |
77note: required by a bound in `assert_copy`
8- --> $DIR/kindck-copy .rs:5:19
8+ --> $DIR/basic-copyable-types .rs:5:19
99 |
1010LL | fn assert_copy<T: Copy>() {}
1111 | ^^^^ required by this bound in `assert_copy`
@@ -16,13 +16,13 @@ LL + assert_copy::<isize>();
1616 |
1717
1818error[E0277]: the trait bound `&'a mut isize: Copy` is not satisfied
19- --> $DIR/kindck-copy .rs:28:19
19+ --> $DIR/basic-copyable-types .rs:28:19
2020 |
2121LL | assert_copy::<&'a mut isize>();
2222 | ^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut isize`
2323 |
2424note: required by a bound in `assert_copy`
25- --> $DIR/kindck-copy .rs:5:19
25+ --> $DIR/basic-copyable-types .rs:5:19
2626 |
2727LL | fn assert_copy<T: Copy>() {}
2828 | ^^^^ required by this bound in `assert_copy`
@@ -33,114 +33,114 @@ LL + assert_copy::<isize>();
3333 |
3434
3535error[E0277]: the trait bound `Box<isize>: Copy` is not satisfied
36- --> $DIR/kindck-copy .rs:31:19
36+ --> $DIR/basic-copyable-types .rs:31:19
3737 |
3838LL | assert_copy::<Box<isize>>();
3939 | ^^^^^^^^^^ the trait `Copy` is not implemented for `Box<isize>`
4040 |
4141note: required by a bound in `assert_copy`
42- --> $DIR/kindck-copy .rs:5:19
42+ --> $DIR/basic-copyable-types .rs:5:19
4343 |
4444LL | fn assert_copy<T: Copy>() {}
4545 | ^^^^ required by this bound in `assert_copy`
4646
4747error[E0277]: the trait bound `String: Copy` is not satisfied
48- --> $DIR/kindck-copy .rs:32:19
48+ --> $DIR/basic-copyable-types .rs:32:19
4949 |
5050LL | assert_copy::<String>();
5151 | ^^^^^^ the trait `Copy` is not implemented for `String`
5252 |
5353note: required by a bound in `assert_copy`
54- --> $DIR/kindck-copy .rs:5:19
54+ --> $DIR/basic-copyable-types .rs:5:19
5555 |
5656LL | fn assert_copy<T: Copy>() {}
5757 | ^^^^ required by this bound in `assert_copy`
5858
5959error[E0277]: the trait bound `Vec<isize>: Copy` is not satisfied
60- --> $DIR/kindck-copy .rs:33:19
60+ --> $DIR/basic-copyable-types .rs:33:19
6161 |
6262LL | assert_copy::<Vec<isize>>();
6363 | ^^^^^^^^^^ the trait `Copy` is not implemented for `Vec<isize>`
6464 |
6565note: required by a bound in `assert_copy`
66- --> $DIR/kindck-copy .rs:5:19
66+ --> $DIR/basic-copyable-types .rs:5:19
6767 |
6868LL | fn assert_copy<T: Copy>() {}
6969 | ^^^^ required by this bound in `assert_copy`
7070
7171error[E0277]: the trait bound `Box<&'a mut isize>: Copy` is not satisfied
72- --> $DIR/kindck-copy .rs:34:19
72+ --> $DIR/basic-copyable-types .rs:34:19
7373 |
7474LL | assert_copy::<Box<&'a mut isize>>();
7575 | ^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<&'a mut isize>`
7676 |
7777note: required by a bound in `assert_copy`
78- --> $DIR/kindck-copy .rs:5:19
78+ --> $DIR/basic-copyable-types .rs:5:19
7979 |
8080LL | fn assert_copy<T: Copy>() {}
8181 | ^^^^ required by this bound in `assert_copy`
8282
8383error[E0277]: the trait bound `Box<dyn Dummy>: Copy` is not satisfied
84- --> $DIR/kindck-copy .rs:42:19
84+ --> $DIR/basic-copyable-types .rs:42:19
8585 |
8686LL | assert_copy::<Box<dyn Dummy>>();
8787 | ^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy>`
8888 |
8989note: required by a bound in `assert_copy`
90- --> $DIR/kindck-copy .rs:5:19
90+ --> $DIR/basic-copyable-types .rs:5:19
9191 |
9292LL | fn assert_copy<T: Copy>() {}
9393 | ^^^^ required by this bound in `assert_copy`
9494
9595error[E0277]: the trait bound `Box<dyn Dummy + Send>: Copy` is not satisfied
96- --> $DIR/kindck-copy .rs:43:19
96+ --> $DIR/basic-copyable-types .rs:43:19
9797 |
9898LL | assert_copy::<Box<dyn Dummy + Send>>();
9999 | ^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy + Send>`
100100 |
101101note: required by a bound in `assert_copy`
102- --> $DIR/kindck-copy .rs:5:19
102+ --> $DIR/basic-copyable-types .rs:5:19
103103 |
104104LL | fn assert_copy<T: Copy>() {}
105105 | ^^^^ required by this bound in `assert_copy`
106106
107107error[E0277]: the trait bound `&'a mut (dyn Dummy + Send + 'a): Copy` is not satisfied
108- --> $DIR/kindck-copy .rs:46:19
108+ --> $DIR/basic-copyable-types .rs:46:19
109109 |
110110LL | assert_copy::<&'a mut (dyn Dummy + Send)>();
111111 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut (dyn Dummy + Send + 'a)`
112112 |
113113note: required by a bound in `assert_copy`
114- --> $DIR/kindck-copy .rs:5:19
114+ --> $DIR/basic-copyable-types .rs:5:19
115115 |
116116LL | fn assert_copy<T: Copy>() {}
117117 | ^^^^ required by this bound in `assert_copy`
118118
119119error[E0277]: the trait bound `MyNoncopyStruct: Copy` is not satisfied
120- --> $DIR/kindck-copy .rs:64:19
120+ --> $DIR/basic-copyable-types .rs:64:19
121121 |
122122LL | assert_copy::<MyNoncopyStruct>();
123123 | ^^^^^^^^^^^^^^^ unsatisfied trait bound
124124 |
125125help: the trait `Copy` is not implemented for `MyNoncopyStruct`
126- --> $DIR/kindck-copy .rs:15:1
126+ --> $DIR/basic-copyable-types .rs:15:1
127127 |
128128LL | struct MyNoncopyStruct {
129129 | ^^^^^^^^^^^^^^^^^^^^^^
130130note: required by a bound in `assert_copy`
131- --> $DIR/kindck-copy .rs:5:19
131+ --> $DIR/basic-copyable-types .rs:5:19
132132 |
133133LL | fn assert_copy<T: Copy>() {}
134134 | ^^^^ required by this bound in `assert_copy`
135135
136136error[E0277]: the trait bound `Rc<isize>: Copy` is not satisfied
137- --> $DIR/kindck-copy .rs:67:19
137+ --> $DIR/basic-copyable-types .rs:67:19
138138 |
139139LL | assert_copy::<Rc<isize>>();
140140 | ^^^^^^^^^ the trait `Copy` is not implemented for `Rc<isize>`
141141 |
142142note: required by a bound in `assert_copy`
143- --> $DIR/kindck-copy .rs:5:19
143+ --> $DIR/basic-copyable-types .rs:5:19
144144 |
145145LL | fn assert_copy<T: Copy>() {}
146146 | ^^^^ required by this bound in `assert_copy`
0 commit comments