diff options
Diffstat (limited to 'crates/hir_ty/src/diagnostics/pattern/usefulness.rs')
-rw-r--r-- | crates/hir_ty/src/diagnostics/pattern/usefulness.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/src/diagnostics/pattern/usefulness.rs b/crates/hir_ty/src/diagnostics/pattern/usefulness.rs index 3bfb7afed..76dc4412f 100644 --- a/crates/hir_ty/src/diagnostics/pattern/usefulness.rs +++ b/crates/hir_ty/src/diagnostics/pattern/usefulness.rs | |||
@@ -906,7 +906,7 @@ mod helper { | |||
906 | /// [this comment]: https://github.com/rust-lang/rust/issues/34511#issuecomment-373423999 | 906 | /// [this comment]: https://github.com/rust-lang/rust/issues/34511#issuecomment-373423999 |
907 | // FIXME(eddyb) false positive, the lifetime parameter is "phantom" but needed. | 907 | // FIXME(eddyb) false positive, the lifetime parameter is "phantom" but needed. |
908 | #[allow(unused_lifetimes)] | 908 | #[allow(unused_lifetimes)] |
909 | pub trait Captures<'a> {} | 909 | pub(crate) trait Captures<'a> {} |
910 | 910 | ||
911 | impl<'a, T: ?Sized> Captures<'a> for T {} | 911 | impl<'a, T: ?Sized> Captures<'a> for T {} |
912 | } | 912 | } |