---
source: crates/ruff_linter/src/rules/pyflakes/mod.rs
---
F811 Redefinition of unused `Bar` from line 3
 --> F811_29.pyi:3:24
  |
1 | """Regression test for: https://github.com/astral-sh/ruff/issues/10509"""
2 |
3 | from foo import Bar as Bar
  |                        --- previous definition of `Bar` here
4 |
5 | class Eggs:
6 |     Bar: int  # OK
7 |
8 | Bar = 1  # F811
  | ^^^ `Bar` redefined here
  |
help: Remove definition: `Bar`
