Skip to main content

Module raw_borrows_via_references

Module raw_borrows_via_references 

Source

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ยง

RawBorrowsViaReferences

Staticsยง

RAW_BORROWS_VIA_REFERENCES
The raw_borrows_via_references lint checks for references that decay immediately into raw borrows.