---
source: crates/ruff_linter/src/rules/ruff/mod.rs
---
F841 [*] Local variable `x` is assigned to but never used
 --> ruff_noqa_codes.py:8:5
  |
7 | def f():
8 |     x = 1
  |     ^
  |
help: Remove assignment to unused variable `x`
  |
7 | def f():
  -     x = 1
8 +     pass
  |
note: This is an unsafe fix and may change runtime behavior
