Skip to content

Commit

Permalink
Rollup merge of rust-lang#86387 - JohnTitor:now-no-unused-lifetimes, …
Browse files Browse the repository at this point in the history
…r=Mark-Simulacrum

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

Seems FP has been fixed, it doesn't need `#[allow(unused_lifetimes)]` anymore.
  • Loading branch information
JohnTitor authored Jun 21, 2021
2 parents 63ad2ea + 636170a commit e1f5338
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 e1f5338

Please sign in to comment.