Skip to main content

Module mono_checks

Module mono_checks 

Source
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 πŸ”’