Skip to content

Commit 7299205

Browse files
committed
Add a Copy impl in rsbegin.rs
1 parent 923166b commit 7299205

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/rtstartup/rsbegin.rs

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ trait Copy {}
2929
#[lang = "freeze"]
3030
auto trait Freeze {}
3131

32+
impl<T: ?Sized> Copy for *mut T {}
33+
3234
#[lang = "drop_in_place"]
3335
#[inline]
3436
#[allow(unconditional_recursion)]

0 commit comments

Comments
 (0)