aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servoparser/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/servoparser/mod.rs')
-rw-r--r--components/script/dom/servoparser/mod.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/components/script/dom/servoparser/mod.rs b/components/script/dom/servoparser/mod.rs
index a21bec9b8c6..632a0442548 100644
--- a/components/script/dom/servoparser/mod.rs
+++ b/components/script/dom/servoparser/mod.rs
@@ -422,7 +422,7 @@ impl ServoParser {
self.script_nesting_level() > 0 && !self.aborted.get()
}
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
fn new_inherited(
document: &Document,
tokenizer: Tokenizer,
@@ -447,7 +447,7 @@ impl ServoParser {
}
}
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
fn new(
document: &Document,
tokenizer: Tokenizer,
@@ -693,7 +693,7 @@ enum ParserKind {
}
#[derive(JSTraceable, MallocSizeOf)]
-#[unrooted_must_root_lint::must_root]
+#[crown::unrooted_must_root_lint::must_root]
enum Tokenizer {
Html(self::html::Tokenizer),
AsyncHtml(self::async_html::Tokenizer),
@@ -1023,7 +1023,7 @@ pub struct FragmentContext<'a> {
pub form_elem: Option<&'a Node>,
}
-#[allow(unrooted_must_root)]
+#[allow(crown::unrooted_must_root)]
fn insert(
parent: &Node,
reference_child: Option<&Node>,
@@ -1063,7 +1063,7 @@ fn insert(
}
#[derive(JSTraceable, MallocSizeOf)]
-#[unrooted_must_root_lint::must_root]
+#[crown::unrooted_must_root_lint::must_root]
pub struct Sink {
#[no_trace]
base_url: ServoUrl,
@@ -1086,7 +1086,7 @@ impl Sink {
}
}
-#[allow(unrooted_must_root)] // FIXME: really?
+#[allow(crown::unrooted_must_root)] // FIXME: really?
impl TreeSink for Sink {
type Output = Self;
fn finish(self) -> Self {