diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2015-11-03 11:19:52 -0800 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2015-11-07 21:17:24 -0800 |
commit | 1a50fce67c840123447c9949c9692f4bb5828e5d (patch) | |
tree | 43576152ca427142e751abb6de042690499ee638 /components/script/dom/bindings/mod.rs | |
parent | db1163b1eceb5fef6463c4425e99d974a85a50a8 (diff) | |
download | servo-1a50fce67c840123447c9949c9692f4bb5828e5d.tar.gz servo-1a50fce67c840123447c9949c9692f4bb5828e5d.zip |
Clean up some code related to #[no_move].
The patch makes RootCollection a bit safer by making the StackRootTLS hold
it in place.
The use of no_move in CodeGenRust was leftover from when roots couldn't
be moved.
Diffstat (limited to 'components/script/dom/bindings/mod.rs')
-rw-r--r-- | components/script/dom/bindings/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/script/dom/bindings/mod.rs b/components/script/dom/bindings/mod.rs index 394c7b722bf..2ccae259b7b 100644 --- a/components/script/dom/bindings/mod.rs +++ b/components/script/dom/bindings/mod.rs @@ -149,9 +149,7 @@ pub mod utils; /// Generated JS-Rust bindings. #[allow(missing_docs, non_snake_case)] pub mod codegen { - // FIXME(#5853) we shouldn't need to - // allow moved_no_move here - #[allow(unrooted_must_root, moved_no_move)] + #[allow(unrooted_must_root)] pub mod Bindings { include!(concat!(env!("OUT_DIR"), "/Bindings/mod.rs")); } |