From eb14ef3496f83d9a0f368a28192c7540075f586e Mon Sep 17 00:00:00 2001 From: Tetsuharu OHZEKI Date: Wed, 25 Jun 2014 14:28:24 -0500 Subject: [PATCH] servo: Merge #2714 - Suppress the compiler warning about raw_pointer_deriving in layout/context.rs (from saneyuki:fix_warn) Source-Repo: https://github.com/servo/servo Source-Revision: 358708723daab932ba231f82dcfe5c82f7df9fb1 --- servo/src/components/main/layout/context.rs | 1 + 1 file changed, 1 insertion(+) 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.