Expand description
This implements a single query, check_mono_fn, that gets fired for each
monomorphization of all functions. This lets us implement monomorphization-time
checks in a way that is friendly to incremental compilation.
Re-exportsΒ§
use rustc_middle::query::Providers;πuse rustc_middle::ty::Instance;πuse rustc_middle::ty::TyCtxt;π
ModulesΒ§
- abi_
check π - This module ensures that if a functionβs ABI requires a particular target feature, that target feature is enabled both on the callee and all callers.
- move_
check π
FunctionsΒ§
- check_
mono_ πitem - provide π