Skip to main content

Module write_after_write

Module write_after_write 

Source

Re-exportsยง

use super::WriteAfterWrite; ๐Ÿ”’
use crate::linter::LateLintPass; ๐Ÿ”’
use crate::linter::LintContext; ๐Ÿ”’
use crate::sol::Severity; ๐Ÿ”’
use crate::sol::SolLint; ๐Ÿ”’
use crate::sol::analysis::loop_update; ๐Ÿ”’
use solar::interface::Span; ๐Ÿ”’
use solar::sema::Gcx; ๐Ÿ”’
use solar::sema::hir::BinOpKind; ๐Ÿ”’
use solar::sema::hir::Block; ๐Ÿ”’
use solar::sema::hir::CallArgs; ๐Ÿ”’
use solar::sema::hir::CallOptions; ๐Ÿ”’
use solar::sema::hir::Expr; ๐Ÿ”’
use solar::sema::hir::ExprKind; ๐Ÿ”’
use solar::sema::hir::Function; ๐Ÿ”’
use solar::sema::hir::Stmt; ๐Ÿ”’
use solar::sema::hir::StmtKind; ๐Ÿ”’
use solar::sema::hir::VariableId; ๐Ÿ”’
use std::collections::HashMap; ๐Ÿ”’

Structsยง

Analyzer ๐Ÿ”’
Tracks state variable writes that no later read has observed yet; a second write to such a variable makes the pending one redundant.

Staticsยง

WRITE_AFTER_WRITE