fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `&'static mut isize: Copy` is not satisfied 2 --> $DIR/kindck-copy.rs:27:19 3 | 4LL | assert_copy::<&'static mut isize>(); 5 | ^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'static mut isize` 6 | 7note: required by a bound in `assert_copy` 8 --> $DIR/kindck-copy.rs:5:18 9 | 10LL | fn assert_copy<T:Copy>() { } 11 | ^^^^ required by this bound in `assert_copy` 12help: consider removing the leading `&`-reference 13 | 14LL - assert_copy::<&'static mut isize>(); 15LL + assert_copy::<isize>(); 16 | 17 18error[E0277]: the trait bound `&'a mut isize: Copy` is not satisfied 19 --> $DIR/kindck-copy.rs:28:19 20 | 21LL | assert_copy::<&'a mut isize>(); 22 | ^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut isize` 23 | 24note: required by a bound in `assert_copy` 25 --> $DIR/kindck-copy.rs:5:18 26 | 27LL | fn assert_copy<T:Copy>() { } 28 | ^^^^ required by this bound in `assert_copy` 29help: consider removing the leading `&`-reference 30 | 31LL - assert_copy::<&'a mut isize>(); 32LL + assert_copy::<isize>(); 33 | 34 35error[E0277]: the trait bound `Box<isize>: Copy` is not satisfied 36 --> $DIR/kindck-copy.rs:31:19 37 | 38LL | assert_copy::<Box<isize>>(); 39 | ^^^^^^^^^^ the trait `Copy` is not implemented for `Box<isize>` 40 | 41note: required by a bound in `assert_copy` 42 --> $DIR/kindck-copy.rs:5:18 43 | 44LL | fn assert_copy<T:Copy>() { } 45 | ^^^^ required by this bound in `assert_copy` 46 47error[E0277]: the trait bound `String: Copy` is not satisfied 48 --> $DIR/kindck-copy.rs:32:19 49 | 50LL | assert_copy::<String>(); 51 | ^^^^^^ the trait `Copy` is not implemented for `String` 52 | 53note: required by a bound in `assert_copy` 54 --> $DIR/kindck-copy.rs:5:18 55 | 56LL | fn assert_copy<T:Copy>() { } 57 | ^^^^ required by this bound in `assert_copy` 58 59error[E0277]: the trait bound `Vec<isize>: Copy` is not satisfied 60 --> $DIR/kindck-copy.rs:33:19 61 | 62LL | assert_copy::<Vec<isize> >(); 63 | ^^^^^^^^^^ the trait `Copy` is not implemented for `Vec<isize>` 64 | 65note: required by a bound in `assert_copy` 66 --> $DIR/kindck-copy.rs:5:18 67 | 68LL | fn assert_copy<T:Copy>() { } 69 | ^^^^ required by this bound in `assert_copy` 70 71error[E0277]: the trait bound `Box<&'a mut isize>: Copy` is not satisfied 72 --> $DIR/kindck-copy.rs:34:19 73 | 74LL | assert_copy::<Box<&'a mut isize>>(); 75 | ^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<&'a mut isize>` 76 | 77note: required by a bound in `assert_copy` 78 --> $DIR/kindck-copy.rs:5:18 79 | 80LL | fn assert_copy<T:Copy>() { } 81 | ^^^^ required by this bound in `assert_copy` 82 83error[E0277]: the trait bound `Box<dyn Dummy>: Copy` is not satisfied 84 --> $DIR/kindck-copy.rs:42:19 85 | 86LL | assert_copy::<Box<dyn Dummy>>(); 87 | ^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy>` 88 | 89note: required by a bound in `assert_copy` 90 --> $DIR/kindck-copy.rs:5:18 91 | 92LL | fn assert_copy<T:Copy>() { } 93 | ^^^^ required by this bound in `assert_copy` 94 95error[E0277]: the trait bound `Box<dyn Dummy + Send>: Copy` is not satisfied 96 --> $DIR/kindck-copy.rs:43:19 97 | 98LL | assert_copy::<Box<dyn Dummy + Send>>(); 99 | ^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `Box<dyn Dummy + Send>` 100 | 101note: required by a bound in `assert_copy` 102 --> $DIR/kindck-copy.rs:5:18 103 | 104LL | fn assert_copy<T:Copy>() { } 105 | ^^^^ required by this bound in `assert_copy` 106 107error[E0277]: the trait bound `&'a mut (dyn Dummy + Send + 'a): Copy` is not satisfied 108 --> $DIR/kindck-copy.rs:46:19 109 | 110LL | assert_copy::<&'a mut (dyn Dummy + Send)>(); 111 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `&'a mut (dyn Dummy + Send + 'a)` 112 | 113note: required by a bound in `assert_copy` 114 --> $DIR/kindck-copy.rs:5:18 115 | 116LL | fn assert_copy<T:Copy>() { } 117 | ^^^^ required by this bound in `assert_copy` 118 119error[E0277]: the trait bound `MyNoncopyStruct: Copy` is not satisfied 120 --> $DIR/kindck-copy.rs:64:19 121 | 122LL | assert_copy::<MyNoncopyStruct>(); 123 | ^^^^^^^^^^^^^^^ the trait `Copy` is not implemented for `MyNoncopyStruct` 124 | 125note: required by a bound in `assert_copy` 126 --> $DIR/kindck-copy.rs:5:18 127 | 128LL | fn assert_copy<T:Copy>() { } 129 | ^^^^ required by this bound in `assert_copy` 130 131error[E0277]: the trait bound `Rc<isize>: Copy` is not satisfied 132 --> $DIR/kindck-copy.rs:67:19 133 | 134LL | assert_copy::<Rc<isize>>(); 135 | ^^^^^^^^^ the trait `Copy` is not implemented for `Rc<isize>` 136 | 137note: required by a bound in `assert_copy` 138 --> $DIR/kindck-copy.rs:5:18 139 | 140LL | fn assert_copy<T:Copy>() { } 141 | ^^^^ required by this bound in `assert_copy` 142 143error: aborting due to 11 previous errors 144 145For more information about this error, try `rustc --explain E0277`.