rustc-ap-rustc_data_structures 681.0.0

Automatically published version of the package `rustc_data_structures` in the rust-lang/rust repository from commit 26373fb4baa9c5b8a7a1e2821fcfa930a85d327d The publishing script for this crate lives at: https://github.com/alexcrichton/rustc-auto-publish
Documentation
1
2
3
4
5
6
7
8
9
10
/// "Signaling" trait used in impl trait to tag lifetimes that you may
/// need to capture but don't really need for other reasons.
/// 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 {}