about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-06-22 07:37:53 +0900
committerGitHub <noreply@github.com>2021-06-22 07:37:53 +0900
commitd2852354dcf3378516a8ef0d005405c2a128c0a1 (patch)
tree44a5e1f67b8d530f4ecacbb2956a421e07d047e1
parent4d73300f8ace436a9151b67b0f1e4af0d21647e7 (diff)
parent636170a1e29356a6e2ca96189f94132a0d6d642f (diff)
downloadrust-d2852354dcf3378516a8ef0d005405c2a128c0a1.tar.gz
rust-d2852354dcf3378516a8ef0d005405c2a128c0a1.zip
Rollup merge of #86387 - JohnTitor:now-no-unused-lifetimes, r=Mark-Simulacrum
Remove `#[allow(unused_lifetimes)]` which is now unnecessary

Seems FP has been fixed, it doesn't need `#[allow(unused_lifetimes)]` anymore.
-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 {}