Re-exportsยง
use rustc_attr_ir::CanonicalSymbol;๐use rustc_hir::def_id::LocalDefId;๐use rustc_hir as hir;๐use rustc_hir::FnSig;๐use rustc_hir::ForeignItemKind;๐use rustc_infer::infer::DefineOpaqueTypes;๐use rustc_lint_defs::declare_lint;๐use rustc_lint_defs::declare_lint_pass;๐use rustc_middle::ty;๐use rustc_middle::ty::Instance;๐use rustc_middle::ty::PolyFnSig;๐use rustc_middle::ty::Ty;๐use rustc_span::Span;๐use rustc_span::Symbol;๐use rustc_trait_selection::infer::TyCtxtInferExt;๐use crate::diagnostics::RedefiningRuntimeSymbolsDiag;๐use crate::LateContext;๐use crate::LateLintPass;๐use crate::LintContext;๐
Structsยง
Staticsยง
- INVALID_
RUNTIME_ SYMBOL_ DEFINITIONS - The
invalid_runtime_symbol_definitionslint checks the signature of items whose symbol name is a runtime symbol expected bycoreorstddiffers significantly from the expected signature (like mismatch ABI, mismatch C variadics, mismatch argument count, missing return type, โฆ). - SUSPICIOUS_
RUNTIME_ SYMBOL_ DEFINITIONS - The
suspicious_runtime_symbol_definitionslint checks the signature of items whose symbol name is a runtime symbol expected bycoreorstd.
Functionsยง
- check ๐
- check_
fn ๐ - check_
static ๐