Skip to main contentModule spec_func
Source use std::ops::ControlFlow; ๐ use itertools::Itertools; ๐ use rustc_data_structures::fx::FxIndexMap; ๐ use rustc_data_structures::fx::FxIndexSet; ๐ use rustc_data_structures::unord::UnordMap; ๐ use rustc_hir::def_id::DefIndex; ๐ use rustc_macros::TyDecodable; ๐ use rustc_macros::TyEncodable; ๐ use toposort_scc::IndexGraph; ๐ use crate::def_id::FluxDefId; ๐ use crate::def_id::FluxId; ๐ use crate::def_id::FluxLocalDefId; ๐ use crate::rty::Binder; ๐ use crate::rty::Expr; ๐ use crate::rty::ExprKind; ๐ use crate::rty::expr::SpecFuncKind; ๐ use crate::rty::fold::TypeSuperVisitable; ๐ use crate::rty::fold::TypeVisitable; ๐ use crate::rty::fold::TypeVisitor; ๐
- SpecFuncs
- All the spec functions of a crate sorted topologically, i.e., every function comes after all
the functions (in the same crate) it calls.
- SpecFunc
- A spec function (aka flux-def) as written by the user, i.e., before inlining any of the
functions it calls.
- deps
- Returns all the spec functions (of any crate) called in
body - toposort ๐
- Returns