Add warn(unreachable_pub)
to rustc_hir_analysis
.
This commit is contained in:
parent
bffa2244ed
commit
5acf4e7b4b
27 changed files with 155 additions and 145 deletions
|
@ -332,7 +332,7 @@ fn visit_implementation_of_dispatch_from_dyn(checker: &Checker<'_>) -> Result<()
|
|||
}
|
||||
}
|
||||
|
||||
pub fn coerce_unsized_info<'tcx>(
|
||||
pub(crate) fn coerce_unsized_info<'tcx>(
|
||||
tcx: TyCtxt<'tcx>,
|
||||
impl_did: LocalDefId,
|
||||
) -> Result<CoerceUnsizedInfo, ErrorGuaranteed> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue