type_visibility
rustc_
hir_
analysis
1.94.0-beta.5
(31a40f5c8 2026-02-20)
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
>>