mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
raw_pointer_deriving -> raw_pointer_derive
This commit is contained in:
parent
547ed20455
commit
b8fb725af2
5 changed files with 6 additions and 6 deletions
|
@ -53,7 +53,7 @@ pub struct CallbackInterface {
|
|||
|
||||
/// A common base class for representing IDL callback function and
|
||||
/// callback interface types.
|
||||
#[allow(raw_pointer_deriving)]
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[derive(Copy, Clone,PartialEq)]
|
||||
#[jstraceable]
|
||||
struct CallbackObject {
|
||||
|
|
|
@ -49,7 +49,7 @@ use js;
|
|||
/// Proxy handler for a WindowProxy.
|
||||
pub struct WindowProxyHandler(pub *const libc::c_void);
|
||||
|
||||
#[allow(raw_pointer_deriving)]
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[jstraceable]
|
||||
/// Static data associated with a global object.
|
||||
pub struct GlobalStaticData {
|
||||
|
@ -354,7 +354,7 @@ pub fn reflect_dom_object<T: Reflectable>
|
|||
|
||||
/// A struct to store a reference to the reflector of a DOM object.
|
||||
// Allowing unused_attribute because the lint sometimes doesn't run in order
|
||||
#[allow(raw_pointer_deriving, unrooted_must_root, unused_attributes)]
|
||||
#[allow(raw_pointer_derive, unrooted_must_root, unused_attributes)]
|
||||
#[derive(PartialEq)]
|
||||
#[must_root]
|
||||
#[servo_lang = "reflector"]
|
||||
|
|
|
@ -26,7 +26,7 @@ use js::{JSRESOLVE_QUALIFIED, JSRESOLVE_ASSIGNING};
|
|||
|
||||
use std::ptr;
|
||||
|
||||
#[allow(raw_pointer_deriving)]
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[jstraceable]
|
||||
#[privatize]
|
||||
pub struct BrowserContext {
|
||||
|
|
|
@ -2206,7 +2206,7 @@ impl<'a> NodeMethods for JSRef<'a, Node> {
|
|||
/// The address of a node known to be valid. These are sent from script to layout,
|
||||
/// and are also used in the HTML parser interface.
|
||||
|
||||
#[allow(raw_pointer_deriving)]
|
||||
#[allow(raw_pointer_derive)]
|
||||
#[derive(Clone, PartialEq, Eq, Copy)]
|
||||
pub struct TrustedNodeAddress(pub *const c_void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue