---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint(no-label-var): Found identifier 'x' with the same name as a label.
   ╭─[no_label_var.tsx:1:5]
 1 │ var x = foo; function bar() { x: for(;;) { break x; } }
   ·     ┬                         ┬
   ·     │                         ╰── Label with the same name.
   ·     ╰── Identifier 'x' found here.
   ╰────

  ⚠ eslint(no-label-var): Found identifier 'x' with the same name as a label.
   ╭─[no_label_var.tsx:1:22]
 1 │ function bar() { var x = foo; x: for(;;) { break x; } }
   ·                      ┬        ┬
   ·                      │        ╰── Label with the same name.
   ·                      ╰── Identifier 'x' found here.
   ╰────

  ⚠ eslint(no-label-var): Found identifier 'x' with the same name as a label.
   ╭─[no_label_var.tsx:1:14]
 1 │ function bar(x) { x: for(;;) { break x; } }
   ·              ┬    ┬
   ·              │    ╰── Label with the same name.
   ·              ╰── Identifier 'x' found here.
   ╰────
