Remove `#[allow(unused_lifetimes)]` which is now unnecessary

This commit is contained in:
Yuki Okushi 2021-06-17 08:56:54 +09:00
parent 9fef8d91b4
commit 636170a1e2
No known key found for this signature in database
GPG Key ID: DABA5B072961C18A
1 changed files with 0 additions and 2 deletions

View File

@ -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 {}