mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Remove #[allow(raw_pointer_derive)]
attributes
The attributes are unused. Fixes #8699.
This commit is contained in:
parent
3720e4d5ef
commit
341e66f66d
7 changed files with 1 additions and 10 deletions
|
@ -62,7 +62,6 @@ pub struct CallbackInterface {
|
|||
|
||||
/// A common base class for representing IDL callback function and
|
||||
/// callback interface types.
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[derive(JSTraceable)]
|
||||
struct CallbackObject {
|
||||
/// The underlying `JSObject`.
|
||||
|
|
|
@ -20,7 +20,7 @@ pub fn reflect_dom_object<T: Reflectable>(obj: Box<T>,
|
|||
}
|
||||
|
||||
/// A struct to store a reference to the reflector of a DOM object.
|
||||
#[allow(raw_pointer_derive, unrooted_must_root)]
|
||||
#[allow(unrooted_must_root)]
|
||||
#[must_root]
|
||||
#[servo_lang = "reflector"]
|
||||
#[derive(HeapSizeOf)]
|
||||
|
|
|
@ -53,7 +53,6 @@ use util::mem::HeapSizeOf;
|
|||
use util::str::jsstring_to_str;
|
||||
|
||||
/// Proxy handler for a WindowProxy.
|
||||
#[allow(raw_pointer_derive)]
|
||||
pub struct WindowProxyHandler(pub *const libc::c_void);
|
||||
|
||||
impl HeapSizeOf for WindowProxyHandler {
|
||||
|
@ -63,7 +62,6 @@ impl HeapSizeOf for WindowProxyHandler {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[derive(JSTraceable, HeapSizeOf)]
|
||||
/// Static data associated with a global object.
|
||||
pub struct GlobalStaticData {
|
||||
|
@ -142,7 +140,6 @@ pub struct NativePropertyHooks {
|
|||
}
|
||||
|
||||
/// The struct that holds inheritance information for DOM object reflectors.
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct DOMClass {
|
||||
/// A list of interfaces that this object implements, in order of decreasing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue