about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorYuki Okushi <yuki.okushi@huawei.com>2021-06-17 08:56:54 +0900
committerYuki Okushi <yuki.okushi@huawei.com>2021-06-17 08:56:54 +0900
commit636170a1e29356a6e2ca96189f94132a0d6d642f (patch)
treee40706f9b206b22b7ceb7f3f3bb7fa3ef681e8f3 /compiler
parent9fef8d91b4a6c5bfe07c025c434f2d623ad83337 (diff)
downloadrust-636170a1e29356a6e2ca96189f94132a0d6d642f.tar.gz
rust-636170a1e29356a6e2ca96189f94132a0d6d642f.zip
Remove `#[allow(unused_lifetimes)]` which is now unnecessary
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_data_structures/src/captures.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/captures.rs b/compiler/rustc_data_structures/src/captures.rs
index 26b90ebfd5f..677ccb31454 100644
--- a/compiler/rustc_data_structures/src/captures.rs
+++ b/compiler/rustc_data_structures/src/captures.rs
@@ -3,8 +3,6 @@
 /// Basically a workaround; see [this comment] for details.
 ///
 /// [this comment]: https://github.com/rust-lang/rust/issues/34511#issuecomment-373423999
-// FIXME(eddyb) false positive, the lifetime parameter is "phantom" but needed.
-#[allow(unused_lifetimes)]
 pub trait Captures<'a> {}
 
 impl<'a, T: ?Sized> Captures<'a> for T {}