mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +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
|
@ -7,16 +7,14 @@
|
|||
#![feature(drain_filter)]
|
||||
#![feature(inner_deref)]
|
||||
#![feature(plugin)]
|
||||
#![feature(register_attr)]
|
||||
#![feature(register_tool)]
|
||||
#![deny(unsafe_code)]
|
||||
#![allow(non_snake_case)]
|
||||
#![doc = "The script crate contains all matters DOM."]
|
||||
#![cfg_attr(not(feature = "unrooted_must_root_lint"), allow(unknown_lints))]
|
||||
#![allow(deprecated)] // FIXME: Can we make `allow` only apply to the `plugin` crate attribute?
|
||||
#![plugin(script_plugins)]
|
||||
#![register_attr(allow_unrooted_interior)]
|
||||
#![register_attr(allow_unrooted_in_rc)]
|
||||
#![register_attr(must_root)]
|
||||
#![register_tool(unrooted_must_root_lint)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue