type_visibility
rustc_
hir_
analysis
1.91.0-beta.1
(1bffa2300 2025-09-15)
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
>>