mirror of
https://github.com/servo/servo.git
synced 2025-06-16 20:34:30 +00:00
Use #![register_tool]
instead of #![register_attr]
CC https://github.com/rust-lang/rust/issues/66079
This commit is contained in:
parent
091feba0ba
commit
bea73951db
46 changed files with 129 additions and 105 deletions
|
@ -434,7 +434,7 @@ impl OpaqueSender<CommonScriptMsg> for Sender<MainThreadScriptMsg> {
|
|||
|
||||
/// The set of all documents managed by this script thread.
|
||||
#[derive(JSTraceable)]
|
||||
#[must_root]
|
||||
#[unrooted_must_root_lint::must_root]
|
||||
pub struct Documents {
|
||||
map: HashMap<PipelineId, Dom<Document>>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue