Skip to main content
type_visibility
rustc_
hir_
analysis
1.99.1
(58cf8f9c3 2026-10-13)
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
<
ModId
>>