Re-exportsยง
use std::ops::ControlFlow;๐use rustc_attr_ir::find_attr;๐use rustc_attr_ir::lang_items::LangItem;๐use rustc_data_structures::fx::FxIndexMap;๐use rustc_data_structures::fx::FxIndexSet;๐use rustc_errors::struct_span_code_err;๐use rustc_hir as hir;๐use rustc_hir::PolyTraitRef;๐use rustc_hir::def::DefKind;๐use rustc_hir::def::Res;๐use rustc_hir::def_id::DefId;๐use rustc_middle::ty;๐use rustc_middle::ty::IsSuggestable;๐use rustc_middle::ty::Ty;๐use rustc_middle::ty::TyCtxt;๐use rustc_middle::ty::TypeSuperVisitable;๐use rustc_middle::ty::TypeVisitable;๐use rustc_middle::ty::TypeVisitableExt;๐use rustc_middle::ty::TypeVisitor;๐use rustc_middle::ty::Upcast;๐use rustc_span::ErrorGuaranteed;๐use rustc_span::Ident;๐use rustc_span::Span;๐use rustc_span::bug;๐use rustc_span::kw;๐use rustc_trait_selection::traits;๐use tracing::debug;๐use tracing::instrument;๐use tracing::instrument;๐use crate::diagnostics;๐use crate::hir_ty_lowering::AssocItemQSelf;๐use crate::hir_ty_lowering::GenericsArgsErrExtend;๐use crate::hir_ty_lowering::HirTyLowerer;๐use crate::hir_ty_lowering::ImpliedBoundsContext;๐use crate::hir_ty_lowering::OverlappingAsssocItemConstraints;๐use crate::hir_ty_lowering::PredicateFilter;๐use crate::hir_ty_lowering::RegionInferReason;๐use rustc_errors::codes::*;๐
Structsยง
Functionsยง
- add_
trait_ ๐bound - Add a trait bound for
did. - check_
assoc_ ๐const_ binding_ type - Detect and reject early-bound & escaping late-bound generic params in the type of assoc const bindings.
- collect_
bounds ๐ - collect_
sizedness_ ๐bounds - search_
bounds_ ๐for