Skip to main content

Module spec_func

Module spec_func 

Source

Re-exportsยง

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; ๐Ÿ”’

Structsยง

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.

Enumsยง

SpecFunc
A spec function (aka flux-def) as written by the user, i.e., before inlining any of the functions it calls.

Functionsยง

deps
Returns all the spec functions (of any crate) called in body
toposort ๐Ÿ”’
Returns