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.
This commit is contained in:
commit
d2852354dc
1 changed files with 0 additions and 2 deletions
|
@ -3,8 +3,6 @@
|
||||||
/// Basically a workaround; see [this comment] for details.
|
/// Basically a workaround; see [this comment] for details.
|
||||||
///
|
///
|
||||||
/// [this comment]: https://github.com/rust-lang/rust/issues/34511#issuecomment-373423999
|
/// [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> {}
|
pub trait Captures<'a> {}
|
||||||
|
|
||||||
impl<'a, T: ?Sized> Captures<'a> for T {}
|
impl<'a, T: ?Sized> Captures<'a> for T {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue