Skip to content

Commit 3cd9311

Browse files
committed
Implement Copy for i128 and u128 in minicore
Attempting to use these types currently causes an `error performing operation: fully_perform`.
1 parent 327c7ee commit 3cd9311

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/auxiliary/minicore.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ impl<T: ?Sized> LegacyReceiver for &mut T {}
4040
pub trait Copy: Sized {}
4141

4242
impl_marker_trait!(
43-
Copy => [ bool, char, isize, usize, i8, i16, i32, i64, u8, u16, u32, u64, f32, f64 ]
43+
Copy => [
44+
bool, char, isize, usize, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128, f32, f64
45+
]
4446
);
47+
4548
impl<'a, T: ?Sized> Copy for &'a T {}
4649
impl<T: ?Sized> Copy for *const T {}
4750
impl<T: ?Sized> Copy for *mut T {}

0 commit comments

Comments
 (0)