fork/cargo

git clone https://git.julia.blue/fork/cargo

Ed Pagechore(deps): update rust crate annotate-snippets to 0.12.1 (#15909)37b85ad98

0.92.0
1.4 KiB36 linesraw
1<svg width="740px" height="128px" xmlns="http://www.w3.org/2000/svg">
2  <style>
3    .fg { fill: #AAAAAA }
4    .bg { background: #000000 }
5    .fg-bright-blue { fill: #5555FF }
6    .fg-bright-red { fill: #FF5555 }
7    .container {
8      padding: 0 10px;
9      line-height: 18px;
10    }
11    .bold { font-weight: bold; }
12    tspan {
13      font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
14      white-space: pre;
15      line-height: 18px;
16    }
17  </style>
18
19  <rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
20
21  <text xml:space="preserve" class="container fg">
22    <tspan x="10px" y="28px"><tspan class="fg-bright-red bold">error</tspan><tspan class="bold">: invalid float, expected `inf`</tspan>
23</tspan>
24    <tspan x="10px" y="46px"><tspan> </tspan><tspan class="fg-bright-blue bold">--&gt; </tspan><tspan>Cargo.toml:9:7</tspan>
25</tspan>
26    <tspan x="10px" y="64px"><tspan>  </tspan><tspan class="fg-bright-blue bold">|</tspan>
27</tspan>
28    <tspan x="10px" y="82px"><tspan class="fg-bright-blue bold">9</tspan><tspan> </tspan><tspan class="fg-bright-blue bold">|</tspan><tspan> key = invalid-value</tspan>
29</tspan>
30    <tspan x="10px" y="100px"><tspan>  </tspan><tspan class="fg-bright-blue bold">|</tspan><tspan>       </tspan><tspan class="fg-bright-red bold">^^^^^^^^^^^^^</tspan>
31</tspan>
32    <tspan x="10px" y="118px">
33</tspan>
34  </text>
35
36</svg>