Address review comments

This commit is contained in:
Nadrieril
2023-12-14 17:58:33 +01:00
parent e10b165775
commit 8c5e89907c
3 changed files with 4 additions and 12 deletions

View File

@@ -79,12 +79,8 @@ pub struct MatchArm<'p, Cx: MatchCx> {
impl<'p, Cx: MatchCx> Copy for MatchArm<'p, Cx> {}
#[cfg(not(feature = "rustc"))]
pub trait Captures<'a> {}
#[cfg(not(feature = "rustc"))]
impl<'a, T: ?Sized> Captures<'a> for T {}
#[cfg(feature = "rustc")]
pub use rustc_data_structures::captures::Captures;
/// The entrypoint for this crate. Computes whether a match is exhaustive and which of its arms are
/// useful, and runs some lints.