We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#[allow(unused_lifetimes)]
1 parent 9fef8d9 commit 636170aCopy full SHA for 636170a
compiler/rustc_data_structures/src/captures.rs
@@ -3,8 +3,6 @@
3
/// Basically a workaround; see [this comment] for details.
4
///
5
/// [this comment]: https://github.com/rust-lang/rust/issues/34511#issuecomment-373423999
6
-// FIXME(eddyb) false positive, the lifetime parameter is "phantom" but needed.
7
-#[allow(unused_lifetimes)]
8
pub trait Captures<'a> {}
9
10
impl<'a, T: ?Sized> Captures<'a> for T {}
0 commit comments