File: simple.svg

package info (click to toggle)
rust-annotate-snippets 0.11.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 524 kB
  • sloc: makefile: 2
file content (39 lines) | stat: -rw-r--r-- 1,267 bytes parent folder | download
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
<svg width="740px" height="182px" xmlns="http://www.w3.org/2000/svg">
  <style>
    .fg { fill: #AAAAAA }
    .bg { background: #000000 }
    .container {
      padding: 0 10px;
      line-height: 18px;
    }
    tspan {
      font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
      white-space: pre;
      line-height: 18px;
    }
  </style>

  <rect width="100%" height="100%" y="0" rx="4.5" class="bg" />

  <text xml:space="preserve" class="container fg">
    <tspan x="10px" y="28px"><tspan>error: expected one of `.`, `;`, `?`, or an operator, found `for`</tspan>
</tspan>
    <tspan x="10px" y="46px"><tspan>   --&gt; src/format_color.rs:171:9</tspan>
</tspan>
    <tspan x="10px" y="64px"><tspan>    |</tspan>
</tspan>
    <tspan x="10px" y="82px"><tspan>169 |         })</tspan>
</tspan>
    <tspan x="10px" y="100px"><tspan>    |           - expected one of `.`, `;`, `?`, or an operator here</tspan>
</tspan>
    <tspan x="10px" y="118px"><tspan>170 | </tspan>
</tspan>
    <tspan x="10px" y="136px"><tspan>171 |         for line in &amp;self.body {</tspan>
</tspan>
    <tspan x="10px" y="154px"><tspan>    |         ^^^ unexpected token</tspan>
</tspan>
    <tspan x="10px" y="172px"><tspan>    |</tspan>
</tspan>
  </text>

</svg>