summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/crates/rustfix/tests/edge-cases/out_of_bounds.recorded.json
blob: 147debb6c69f9a512b7fb6222e35786e29c49dea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  "message": "unterminated double quote string",
  "code": null,
  "level": "error",
  "spans": [
    {
      "file_name": "./tests/everything/tab_2.rs",
      "byte_start": 485,
      "byte_end": 526,
      "line_start": 12,
      "line_end": 13,
      "column_start": 7,
      "column_end": 3,
      "is_primary": true,
      "text": [
        {
          "text": "    \"\"\"; //~ ERROR unterminated double quote",
          "highlight_start": 7,
          "highlight_end": 45
        },
        {
          "text": "}",
          "highlight_start": 1,
          "highlight_end": 3
        }
      ],
      "label": null,
      "suggested_replacement": null,
      "suggestion_applicability": null,
      "expansion": null
    }
  ],
  "children": [],
  "rendered": "error: unterminated double quote string\n  --> ./tests/everything/tab_2.rs:12:7\n   |\n12 |       \"\"\"; //~ ERROR unterminated double quote\n   |  _______^\n13 | | }\n   | |__^\n\n"
}
{
  "message": "aborting due to previous error",
  "code": null,
  "level": "error",
  "spans": [],
  "children": [],
  "rendered": "error: aborting due to previous error\n\n"
}