Skip to content

Commit d285235

Browse files
authoredJun 21, 2021
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 4d73300 + 636170a commit d285235

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎compiler/rustc_data_structures/src/captures.rs

-2
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)
Please sign in to comment.