rustc_
hir_
analysis
1.87.0
(17067e9ac 2025-05-09)
In rustc_
hir_
analysis::
check::
compare_
impl_
item::
refine
rustc_hir_analysis
::
check
::
compare_impl_item
::
refine
Function
type_visibility
Copy item path
Source
fn type_visibility<'tcx>( tcx:
TyCtxt
<'tcx>, ty:
Ty
<'tcx>, ) ->
Option
<
Visibility
<
DefId
>>