Skip to content

Commit

Permalink
Remove #[allow(unused_lifetimes)] which is now unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jun 16, 2021
1 parent 9fef8d9 commit 636170a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/rustc_data_structures/src/captures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}

0 comments on commit 636170a

Please sign in to comment.