aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/lints/unrooted_must_root.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-03-23 08:45:50 -0600
committerbors-servo <metajack+bors@gmail.com>2015-03-23 08:45:50 -0600
commitb1a35f549baad871a3691ae485af2efecd2d73f7 (patch)
treede33fc1afc2053baa73043f2ec1cde47362a497e /components/plugins/lints/unrooted_must_root.rs
parentca79abe45871b4bfe8e8162cb39f8b6bacd0b0b6 (diff)
parent2755ed6c5807840429564607cad5d157f57b4870 (diff)
downloadservo-b1a35f549baad871a3691ae485af2efecd2d73f7.tar.gz
servo-b1a35f549baad871a3691ae485af2efecd2d73f7.zip
auto merge of #5324 : Ms2ger/servo/missing_copy_implementations, r=jdm
This is now the default.
Diffstat (limited to 'components/plugins/lints/unrooted_must_root.rs')
-rw-r--r--components/plugins/lints/unrooted_must_root.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/plugins/lints/unrooted_must_root.rs b/components/plugins/lints/unrooted_must_root.rs
index a0a9706bf7a..2fd6ad93dbd 100644
--- a/components/plugins/lints/unrooted_must_root.rs
+++ b/components/plugins/lints/unrooted_must_root.rs
@@ -23,7 +23,6 @@ declare_lint!(UNROOTED_MUST_ROOT, Deny,
/// - Not being bound locally in a `let` statement, assignment, `for` loop, or `match` statement.
///
/// This helps catch most situations where pointers like `JS<T>` are used in a way that they can be invalidated by a GC pass.
-#[allow(missing_copy_implementations)]
pub struct UnrootedPass;
// Checks if a type has the #[must_root] annotation.