Skip to main content
type_visibility
rustc_
hir_
analysis
1.95.0-beta.3
(94a8e826a 2026-03-08)
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
>>