Skip to content

Commit 636170a

Browse files
committed
Remove #[allow(unused_lifetimes)] which is now unnecessary
1 parent 9fef8d9 commit 636170a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_data_structures/src/captures.rs

-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
/// Basically a workaround; see [this comment] for details.
44
///
55
/// [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)]
86
pub trait Captures<'a> {}
97

108
impl<'a, T: ?Sized> Captures<'a> for T {}

0 commit comments

Comments
 (0)