aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/diagnostics/pattern/usefulness.rs
diff options
context:
space:
mode:
authorDawer <[email protected]>2021-05-07 08:20:23 +0100
committerDawer <[email protected]>2021-05-31 20:03:47 +0100
commitd7239e5ab4a3b88e9e79cc60d80eaf7300411e5a (patch)
tree1f0d7bee0cb28a8cedbf26ede6d5a4b3cb2ed149 /crates/hir_ty/src/diagnostics/pattern/usefulness.rs
parenta236bfa57a1a860e834498d6ca1e1fc1f857a3a4 (diff)
Fix visibility warnings
Diffstat (limited to 'crates/hir_ty/src/diagnostics/pattern/usefulness.rs')
-rw-r--r--crates/hir_ty/src/diagnostics/pattern/usefulness.rs2
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}