summaryrefslogtreecommitdiffstats
path: root/src/test/ui/single-use-lifetime/derive-eq.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/single-use-lifetime/derive-eq.rs')
-rw-r--r--src/test/ui/single-use-lifetime/derive-eq.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/single-use-lifetime/derive-eq.rs b/src/test/ui/single-use-lifetime/derive-eq.rs
deleted file mode 100644
index e5bdfc55d..000000000
--- a/src/test/ui/single-use-lifetime/derive-eq.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// check-pass
-
-#![deny(single_use_lifetimes)]
-
-#[derive(PartialEq, Eq)]
-struct Foo<'a, T> {
- /// a reference to the underlying secret data that will be derefed
- pub data: &'a mut T,
-}
-
-fn main() {}