Commit d960146
committed
rollup merge of #19860: japaric/copy-markers
Necessary to implement `Copy` on structs like this one:
``` rust
struct Slice<'a, T> {
_contravariant: marker::ContravariantLifetime<'a>,
_nosend: marker::NoSend,
data: *const T,
length: uint,
}
```
r? @alexcrichton1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
270 | | - | |
| 269 | + | |
271 | 270 | | |
272 | 271 | | |
273 | 272 | | |
| |||
282 | 281 | | |
283 | 282 | | |
284 | 283 | | |
285 | | - | |
286 | | - | |
| 284 | + | |
287 | 285 | | |
288 | 286 | | |
289 | 287 | | |
| |||
0 commit comments