---
source: src/rules/flake8_comprehensions/mod.rs
expression: diagnostics
---
- kind:
    UnnecessaryLiteralWithinListCall: list
  location:
    row: 1
    column: 5
  end_location:
    row: 1
    column: 17
  fix:
    content: "[1, 2]"
    location:
      row: 1
      column: 5
    end_location:
      row: 1
      column: 17
  parent: ~
- kind:
    UnnecessaryLiteralWithinListCall: tuple
  location:
    row: 2
    column: 5
  end_location:
    row: 2
    column: 17
  fix:
    content: "[1, 2]"
    location:
      row: 2
      column: 5
    end_location:
      row: 2
      column: 17
  parent: ~
- kind:
    UnnecessaryLiteralWithinListCall: list
  location:
    row: 3
    column: 5
  end_location:
    row: 3
    column: 13
  fix:
    content: "[]"
    location:
      row: 3
      column: 5
    end_location:
      row: 3
      column: 13
  parent: ~
- kind:
    UnnecessaryLiteralWithinListCall: tuple
  location:
    row: 4
    column: 5
  end_location:
    row: 4
    column: 13
  fix:
    content: "[]"
    location:
      row: 4
      column: 5
    end_location:
      row: 4
      column: 13
  parent: ~

