Re-exportsยง
use std::cell::RefCell;๐use rustc_attr_ir::lang_items::LangItem;๐use rustc_hir as hir;๐use rustc_hir::def::DefKind;๐use rustc_hir_analysis::check::check_function_signature;๐use rustc_infer::infer::RegionVariableOrigin;๐use rustc_infer::traits::WellFormedLoc;๐use rustc_lint_defs::builtin::UNSAFE_PANIC_HANDLERS;๐use rustc_middle::ty;๐use rustc_middle::ty::Binder;๐use rustc_middle::ty::Ty;๐use rustc_middle::ty::TyCtxt;๐use rustc_span::def_id::LocalDefId;๐use rustc_span::sym;๐use rustc_trait_selection::traits::ObligationCause;๐use rustc_trait_selection::traits::ObligationCauseCode;๐use tracing::debug;๐use tracing::instrument;๐use tracing::instrument;๐use crate::coercion::CoerceMany;๐use crate::diagnostics::UnsafePanicHandlers;๐use crate::gather_locals::GatherLocalsVisitor;๐use crate::CoroutineTypes;๐use crate::Diverges;๐use crate::FnCtxt;๐
Functionsยง
- check_
fn ๐ - Helper used for fns and closures. Does the grungy work of checking a function body and returns the function context used for that purpose, since in the case of a fn item there is still a bit more to do.
- check_
lang_ ๐start_ fn - check_
panic_ ๐info_ fn