Skip to main content
trait_is_same_or_supertrait
rustdoc
1.101.0-nightly
(b6eeb93c9 2026-10-18)
In rustdoc::
clean::
simplify
rustdoc
::
clean
::
simplify
Function
trait_
is_
same_
or_
supertrait
Copy item path
Source
fn trait_is_same_or_supertrait( tcx: TyCtxt<'_>, child: DefId, trait_: DefId, ) ->
bool