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