2020-09-02 10:40:56 +03:00
|
|
|
error[E0277]: the trait bound `&'static mut isize: Copy` is not satisfied
|
2019-09-20 11:58:20 -07:00
|
|
|
--> $DIR/kindck-copy.rs:27:19
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-08-24 14:44:43 -07:00
|
|
|
LL | fn assert_copy<T:Copy>() { }
|
2020-04-05 22:15:06 -07:00
|
|
|
| ---- required by this bound in `assert_copy`
|
2019-08-24 14:44:43 -07:00
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | assert_copy::<&'static mut isize>();
|
2020-09-02 10:40:56 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'static mut isize`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
= help: the following implementations were found:
|
2020-09-02 10:40:56 +03:00
|
|
|
<isize as Copy>
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2020-09-02 10:40:56 +03:00
|
|
|
error[E0277]: the trait bound `&'a mut isize: Copy` is not satisfied
|
2019-09-20 11:58:20 -07:00
|
|
|
--> $DIR/kindck-copy.rs:28:19
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-08-24 14:44:43 -07:00
|
|
|
LL | fn assert_copy<T:Copy>() { }
|
2020-04-05 22:15:06 -07:00
|
|
|
| ---- required by this bound in `assert_copy`
|
2019-08-24 14:44:43 -07:00
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | assert_copy::<&'a mut isize>();
|
2020-09-02 10:40:56 +03:00
|
|
|
| ^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut isize`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
= help: the following implementations were found:
|
2020-09-02 10:40:56 +03:00
|
|
|
<isize as Copy>
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2020-09-02 10:40:56 +03:00
|
|
|
error[E0277]: the trait bound `Box<isize>: Copy` is not satisfied
|
2019-09-20 11:58:20 -07:00
|
|
|
--> $DIR/kindck-copy.rs:31:19
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-08-24 14:44:43 -07:00
|
|
|
LL | fn assert_copy<T:Copy>() { }
|
2020-04-05 22:15:06 -07:00
|
|
|
| ---- required by this bound in `assert_copy`
|
2019-08-24 14:44:43 -07:00
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | assert_copy::<Box<isize>>();
|
2020-09-02 10:40:56 +03:00
|
|
|
| ^^^^^^^^^^ the trait `Copy` is not implemented for `Box<isize>`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2020-09-02 10:40:56 +03:00
|
|
|
error[E0277]: the trait bound `String: Copy` is not satisfied
|
2019-09-20 11:58:20 -07:00
|
|
|
--> $DIR/kindck-copy.rs:32:19
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-08-24 14:44:43 -07:00
|
|
|
LL | fn assert_copy<T:Copy>() { }
|
2020-04-05 22:15:06 -07:00
|
|
|
| ---- required by this bound in `assert_copy`
|
2019-08-24 14:44:43 -07:00
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | assert_copy::<String>();
|
2020-09-02 10:40:56 +03:00
|
|
|
| ^^^^^^ the trait `Copy` is not implemented for `String`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2020-09-02 10:40:56 +03:00
|
|
|
error[E0277]: the trait bound `Vec<isize>: Copy` is not satisfied
|
2019-09-20 11:58:20 -07:00
|
|
|
--> $DIR/kindck-copy.rs:33:19
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-08-24 14:44:43 -07:00
|
|
|
LL | fn assert_copy<T:Copy>() { }
|
2020-04-05 22:15:06 -07:00
|
|
|
| ---- required by this bound in `assert_copy`
|
2019-08-24 14:44:43 -07:00
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | assert_copy::<Vec<isize> >();
|
2020-09-02 10:40:56 +03:00
|
|
|
| ^^^^^^^^^^ the trait `Copy` is not implemented for `Vec<isize>`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2020-09-02 10:40:56 +03:00
|
|
|
error[E0277]: the trait bound `Box<&'a mut isize>: Copy` is not satisfied
|
2019-09-20 11:58:20 -07:00
|
|
|
--> $DIR/kindck-copy.rs:34:19
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-08-24 14:44:43 -07:00
|
|
|
LL | fn assert_copy<T:Copy>() { }
|
2020-04-05 22:15:06 -07:00
|
|
|
| ---- required by this bound in `assert_copy`
|
2019-08-24 14:44:43 -07:00
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | assert_copy::<Box<&'a mut isize>>();
|
2020-09-02 10:40:56 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<&'a mut isize>`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2020-09-02 10:40:56 +03:00
|
|
|
error[E0277]: the trait bound `Box<dyn Dummy>: Copy` is not satisfied
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/kindck-copy.rs:42:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-08-24 14:44:43 -07:00
|
|
|
LL | fn assert_copy<T:Copy>() { }
|
2020-04-05 22:15:06 -07:00
|
|
|
| ---- required by this bound in `assert_copy`
|
2019-08-24 14:44:43 -07:00
|
|
|
...
|
2019-05-28 14:46:13 -04:00
|
|
|
LL | assert_copy::<Box<dyn Dummy>>();
|
2020-09-02 10:40:56 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy>`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2020-09-02 10:40:56 +03:00
|
|
|
error[E0277]: the trait bound `Box<dyn Dummy + Send>: Copy` is not satisfied
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/kindck-copy.rs:43:5
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-08-24 14:44:43 -07:00
|
|
|
LL | fn assert_copy<T:Copy>() { }
|
2020-04-05 22:15:06 -07:00
|
|
|
| ---- required by this bound in `assert_copy`
|
2019-08-24 14:44:43 -07:00
|
|
|
...
|
2019-05-28 14:46:13 -04:00
|
|
|
LL | assert_copy::<Box<dyn Dummy + Send>>();
|
2020-09-02 10:40:56 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy + Send>`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2020-09-02 10:40:56 +03:00
|
|
|
error[E0277]: the trait bound `&'a mut (dyn Dummy + Send + 'a): Copy` is not satisfied
|
2019-09-20 11:58:20 -07:00
|
|
|
--> $DIR/kindck-copy.rs:46:19
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-08-24 14:44:43 -07:00
|
|
|
LL | fn assert_copy<T:Copy>() { }
|
2020-04-05 22:15:06 -07:00
|
|
|
| ---- required by this bound in `assert_copy`
|
2019-08-24 14:44:43 -07:00
|
|
|
...
|
2019-05-28 14:46:13 -04:00
|
|
|
LL | assert_copy::<&'a mut (dyn Dummy + Send)>();
|
2020-09-02 10:40:56 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut (dyn Dummy + Send + 'a)`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2020-09-02 10:40:56 +03:00
|
|
|
error[E0277]: the trait bound `MyNoncopyStruct: Copy` is not satisfied
|
2019-09-20 11:58:20 -07:00
|
|
|
--> $DIR/kindck-copy.rs:64:19
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-08-24 14:44:43 -07:00
|
|
|
LL | fn assert_copy<T:Copy>() { }
|
2020-04-05 22:15:06 -07:00
|
|
|
| ---- required by this bound in `assert_copy`
|
2019-08-24 14:44:43 -07:00
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | assert_copy::<MyNoncopyStruct>();
|
2020-09-02 10:40:56 +03:00
|
|
|
| ^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `MyNoncopyStruct`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2020-09-02 10:40:56 +03:00
|
|
|
error[E0277]: the trait bound `Rc<isize>: Copy` is not satisfied
|
2019-09-20 11:58:20 -07:00
|
|
|
--> $DIR/kindck-copy.rs:67:19
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-08-24 14:44:43 -07:00
|
|
|
LL | fn assert_copy<T:Copy>() { }
|
2020-04-05 22:15:06 -07:00
|
|
|
| ---- required by this bound in `assert_copy`
|
2019-08-24 14:44:43 -07:00
|
|
|
...
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | assert_copy::<Rc<isize>>();
|
2020-09-02 10:40:56 +03:00
|
|
|
| ^^^^^^^^^ the trait `Copy` is not implemented for `Rc<isize>`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error: aborting due to 11 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|