Skip to main content

Module util

Module util 

Source

Re-exportsยง

use std::assert_matches; ๐Ÿ”’
use rustc_hir as hir; ๐Ÿ”’
use rustc_hir::def::DefKind; ๐Ÿ”’
use rustc_middle::ty; ๐Ÿ”’
use rustc_middle::ty::CanonicalUserType; ๐Ÿ”’
use rustc_middle::ty::TyCtxt; ๐Ÿ”’
use rustc_span::bug; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’

Functionsยง

user_args_applied_to_ty_of_hir_id ๐Ÿ”’
Looks up the type associated with this hir-id and applies the user-given generic parameters; the hir-id must map to a suitable type.