diff options
| author | Yuki Okushi <yuki.okushi@huawei.com> | 2021-06-17 08:56:54 +0900 |
|---|---|---|
| committer | Yuki Okushi <yuki.okushi@huawei.com> | 2021-06-17 08:56:54 +0900 |
| commit | 636170a1e29356a6e2ca96189f94132a0d6d642f (patch) | |
| tree | e40706f9b206b22b7ceb7f3f3bb7fa3ef681e8f3 /compiler | |
| parent | 9fef8d91b4a6c5bfe07c025c434f2d623ad83337 (diff) | |
| download | rust-636170a1e29356a6e2ca96189f94132a0d6d642f.tar.gz rust-636170a1e29356a6e2ca96189f94132a0d6d642f.zip | |
Remove `#[allow(unused_lifetimes)]` which is now unnecessary
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_data_structures/src/captures.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/captures.rs b/compiler/rustc_data_structures/src/captures.rs index 26b90ebfd5f..677ccb31454 100644 --- a/compiler/rustc_data_structures/src/captures.rs +++ b/compiler/rustc_data_structures/src/captures.rs @@ -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 {} |
