diff --git a/servo/src/components/main/layout/context.rs b/servo/src/components/main/layout/context.rs index 6d0391aaa85a..4163de71c6ca 100644 --- a/servo/src/components/main/layout/context.rs +++ b/servo/src/components/main/layout/context.rs @@ -52,6 +52,7 @@ static mut STYLE_SHARING_CANDIDATE_CACHE: *mut StyleSharingCandidateCache = local_data_key!(style_sharing_candidate_cache: *mut StyleSharingCandidateCache) /// Data shared by all layout workers. +#[allow(raw_pointer_deriving)] #[deriving(Clone)] pub struct LayoutContext { /// The local image cache.