mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01: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
|
@ -37,7 +37,7 @@ use std::ptr;
|
|||
use std::rc::Rc;
|
||||
|
||||
#[dom_struct]
|
||||
#[allow_unrooted_in_rc]
|
||||
#[unrooted_must_root_lint::allow_unrooted_in_rc]
|
||||
pub struct Promise {
|
||||
reflector: Reflector,
|
||||
/// Since Promise values are natively reference counted without the knowledge of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue