File: fold_ann_multiline.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 (45 lines) | stat: -rw-r--r-- 1,541 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
40
41
42
43
44
45
<svg width="869px" height="236px" 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[E0308]: mismatched types</tspan>
</tspan>
    <tspan x="10px" y="46px"><tspan>  --&gt; src/format.rs:51:6</tspan>
</tspan>
    <tspan x="10px" y="64px"><tspan>   |</tspan>
</tspan>
    <tspan x="10px" y="82px"><tspan>51 |   ) -&gt; Option&lt;String&gt; {</tspan>
</tspan>
    <tspan x="10px" y="100px"><tspan>   |        -------------- expected `std::option::Option&lt;std::string::String&gt;` because of return type</tspan>
</tspan>
    <tspan x="10px" y="118px"><tspan>52 | /     for ann in annotations {</tspan>
</tspan>
    <tspan x="10px" y="136px"><tspan>53 | |         match (ann.range.0, ann.range.1) {</tspan>
</tspan>
    <tspan x="10px" y="154px"><tspan>...  |</tspan>
</tspan>
    <tspan x="10px" y="172px"><tspan>71 | |         }</tspan>
</tspan>
    <tspan x="10px" y="190px"><tspan>72 | |     }</tspan>
</tspan>
    <tspan x="10px" y="208px"><tspan>   | |_____^ expected enum `std::option::Option`, found ()</tspan>
</tspan>
    <tspan x="10px" y="226px"><tspan>   |</tspan>
</tspan>
  </text>

</svg>