Re-exportsยง
use rustc_ast::BorrowKind;๐use rustc_hir::Expr;๐use rustc_hir::ExprKind;๐use rustc_hir::TyKind;๐use rustc_lint_defs::declare_lint;๐use rustc_lint_defs::declare_lint_pass;๐use crate::diagnostics::RawBorrowViaReference;๐use crate::diagnostics::RawBorrowViaReferenceSuggestion;๐use crate::LateContext;๐use crate::LateLintPass;๐use crate::LintContext;๐
Structsยง
Staticsยง
- RAW_
BORROWS_ VIA_ REFERENCES - The
raw_borrows_via_referenceslint checks for references that decay immediately into raw borrows.