Skip to main content

Module callee

Module callee 

Source

Re-exportsยง

use std::borrow::Cow; ๐Ÿ”’
use std::iter; ๐Ÿ”’
use rustc_abi::CanonAbi; ๐Ÿ”’
use rustc_abi::ExternAbi; ๐Ÿ”’
use rustc_ast::util::parser::ExprPrecedence; ๐Ÿ”’
use rustc_attr_ir::find_attr; ๐Ÿ”’
use rustc_attr_ir::lang_items::LangItem; ๐Ÿ”’
use rustc_data_structures::fx::FxHashMap; ๐Ÿ”’
use rustc_data_structures::fx::FxIndexSet; ๐Ÿ”’
use rustc_errors::Applicability; ๐Ÿ”’
use rustc_errors::Diag; ๐Ÿ”’
use rustc_errors::ErrorGuaranteed; ๐Ÿ”’
use rustc_errors::StashKey; ๐Ÿ”’
use rustc_errors::msg; ๐Ÿ”’
use rustc_hir::def; ๐Ÿ”’
use rustc_hir::def::CtorKind; ๐Ÿ”’
use rustc_hir::def::Namespace; ๐Ÿ”’
use rustc_hir::def::Res; ๐Ÿ”’
use rustc_hir::def_id::DefId; ๐Ÿ”’
use rustc_hir as hir; ๐Ÿ”’
use rustc_hir::HirId; ๐Ÿ”’
use rustc_hir_analysis::autoderef::Autoderef; ๐Ÿ”’
use rustc_infer::infer::BoundRegionConversionTime; ๐Ÿ”’
use rustc_infer::infer::DefineOpaqueTypes; ๐Ÿ”’
use rustc_infer::traits::Obligation; ๐Ÿ”’
use rustc_infer::traits::ObligationCause; ๐Ÿ”’
use rustc_infer::traits::ObligationCauseCode; ๐Ÿ”’
use rustc_infer::traits::WellFormedLoc; ๐Ÿ”’
use rustc_middle::ty::adjustment::Adjust; ๐Ÿ”’
use rustc_middle::ty::adjustment::Adjustment; ๐Ÿ”’
use rustc_middle::ty::adjustment::AllowTwoPhase; ๐Ÿ”’
use rustc_middle::ty::adjustment::AutoBorrow; ๐Ÿ”’
use rustc_middle::ty::adjustment::AutoBorrowMutability; ๐Ÿ”’
use rustc_middle::ty; ๐Ÿ”’
use rustc_middle::ty::FnSig; ๐Ÿ”’
use rustc_middle::ty::GenericArgsRef; ๐Ÿ”’
use rustc_middle::ty::Ty; ๐Ÿ”’
use rustc_middle::ty::TyCtxt; ๐Ÿ”’
use rustc_middle::ty::TypeVisitableExt; ๐Ÿ”’
use rustc_middle::ty::Unnormalized; ๐Ÿ”’
use rustc_span::def_id::LocalDefId; ๐Ÿ”’
use rustc_span::Ident; ๐Ÿ”’
use rustc_span::Span; ๐Ÿ”’
use rustc_span::bug; ๐Ÿ”’
use rustc_span::sym; ๐Ÿ”’
use rustc_target::spec::AbiMap; ๐Ÿ”’
use rustc_target::spec::AbiMapping; ๐Ÿ”’
use rustc_trait_selection::error_reporting::traits::DefIdOrName; ๐Ÿ”’
use rustc_trait_selection::infer::InferCtxtExt as _; ๐Ÿ”’
use rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt as _; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use super::method::MethodCallee; ๐Ÿ”’
use super::method::probe::ProbeScope; ๐Ÿ”’
use super::Expectation; ๐Ÿ”’
use super::FnCtxt; ๐Ÿ”’
use super::TupleArgumentsFlag; ๐Ÿ”’
use crate::diagnostics; ๐Ÿ”’
use crate::method::TreatNotYetDefinedOpaques; ๐Ÿ”’
use crate::method::confirm::ConfirmContext; ๐Ÿ”’
use crate::method::probe::IsSuggestion; ๐Ÿ”’
use crate::method::probe::Mode; ๐Ÿ”’

Structsยง

DeferredCallResolution ๐Ÿ”’

Enumsยง

CallStep ๐Ÿ”’
State machine for typechecking a call, based on the callee type.
SplatLoweringInfo ๐Ÿ”’
Side-table info for lowering splatted function arguments.

Functionsยง

check_legal_trait_for_method_call ๐Ÿ”’
Checks that it is legal to call methods of the trait corresponding to trait_id (this only cares about the trait, not the specific method that is called).