fork/cargo

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

Weihang Lofix(cli): Adjust messages to match rustc (#15928)3ceb2cb25

0.93.0
1.8 KiB43 linesraw
1<svg width="740px" height="164px" xmlns="http://www.w3.org/2000/svg">
2  <style>
3    .fg { fill: #AAAAAA }
4    .bg { background: #000000 }
5    .fg-bright-cyan { fill: #55FFFF }
6    .fg-bright-green { fill: #55FF55 }
7    .fg-bright-red { fill: #FF5555 }
8    .fg-cyan { fill: #00AAAA }
9    .fg-yellow { fill: #AA5500 }
10    .container {
11      padding: 0 10px;
12      line-height: 18px;
13    }
14    .bold { font-weight: bold; }
15    tspan {
16      font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
17      white-space: pre;
18      line-height: 18px;
19    }
20  </style>
21
22  <rect width="100%" height="100%" y="0" rx="4.5" class="bg" />
23
24  <text xml:space="preserve" class="container fg">
25    <tspan x="10px" y="28px"><tspan class="fg-bright-red bold">error:</tspan><tspan> unexpected argument '</tspan><tspan class="fg-yellow bold">--keep-going</tspan><tspan>' found</tspan>
26</tspan>
27    <tspan x="10px" y="46px">
28</tspan>
29    <tspan x="10px" y="64px"><tspan>  </tspan><tspan class="fg-bright-cyan bold">tip:</tspan><tspan> use `--no-fail-fast` to run as many tests as possible regardless of failure</tspan>
30</tspan>
31    <tspan x="10px" y="82px">
32</tspan>
33    <tspan x="10px" y="100px"><tspan class="fg-bright-green bold">Usage:</tspan><tspan> </tspan><tspan class="fg-bright-cyan bold">cargo[EXE] test</tspan><tspan> </tspan><tspan class="fg-cyan">[OPTIONS]</tspan><tspan> </tspan><tspan class="fg-cyan">[TESTNAME]</tspan><tspan> </tspan><tspan class="fg-bright-cyan bold">[--</tspan><tspan> </tspan><tspan class="fg-cyan">[ARGS]...</tspan><tspan class="fg-bright-cyan bold">]</tspan>
34</tspan>
35    <tspan x="10px" y="118px">
36</tspan>
37    <tspan x="10px" y="136px"><tspan>For more information, try '</tspan><tspan class="fg-bright-cyan bold">--help</tspan><tspan>'.</tspan>
38</tspan>
39    <tspan x="10px" y="154px">
40</tspan>
41  </text>
42
43</svg>