You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rust now uses opt-in Copy, which means the type can be copied implicitly. rust-lang/rust#19566
Add #![deny(missing_copy_implementations)] at crate level
Put #[deriving(Copy)] where needed
If raw pointers are used, add #![deny(raw_pointer_deriving)] and then add #[allow(missing_copy_implementations)] to each struct that uses a raw pointer.
The text was updated successfully, but these errors were encountered:
Rust now uses opt-in
Copy
, which means the type can be copied implicitly. rust-lang/rust#19566#![deny(missing_copy_implementations)]
at crate level#[deriving(Copy)]
where neededIf raw pointers are used, add
#![deny(raw_pointer_deriving)]
and then add#[allow(missing_copy_implementations)]
to each struct that uses a raw pointer.The text was updated successfully, but these errors were encountered: