Suppress the compiler warning about raw_pointer_deriving in layout/context.rs.

This suppress the following compile warning:
```
compile: servo
src/components/main/layout/context.rs:75:18: 75:26 warning: use of `#[deriving]` with a raw pointer, #[warn(raw_pointer_deriving)] on by default
src/components/main/layout/context.rs:75     pub stylist: *Stylist,
                                                          ^~~~~~~~
```
This commit is contained in:
Tetsuharu OHZEKI 2014-06-25 16:56:16 +09:00
parent c983b2b97e
commit 45cbd77af1

View file

@ -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.