Skip to content

Commit e1f5338

Browse files
authored
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.
2 parents 63ad2ea + 636170a commit e1f5338

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_data_structures/src/captures.rs

Lines changed: 0 additions & 2 deletions
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)