fork/cargo

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

Ed Pagefix(lints): handle lints separately at ws pkg level (#16367)8ff9d672f

master
2.0 KiB42 linesraw
1<svg width="818px" height="182px" xmlns="http://www.w3.org/2000/svg">
2  <style>
3    .fg { fill: #AAAAAA }
4    .bg { fill: #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">: use of unstable lint `im_a_teapot`</tspan>
23</tspan>
24    <tspan x="10px" y="46px"><tspan> </tspan><tspan class="fg-bright-blue bold">--&gt; </tspan><tspan>Cargo.toml:6:1</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">6</tspan><tspan> </tspan><tspan class="fg-bright-blue bold">|</tspan><tspan> im_a_teapot = { level = "warn", priority = 10 }</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><tspan> </tspan><tspan class="fg-bright-red bold">this is behind `test-dummy-unstable`, which is not enabled</tspan>
31</tspan>
32    <tspan x="10px" y="118px"><tspan>  </tspan><tspan class="fg-bright-blue bold">|</tspan>
33</tspan>
34    <tspan x="10px" y="136px"><tspan>  </tspan><tspan class="fg-bright-blue bold">= </tspan><tspan class="bold">help</tspan><tspan>: consider adding `cargo-features = ["test-dummy-unstable"]` to the top of the manifest</tspan>
35</tspan>
36    <tspan x="10px" y="154px"><tspan class="fg-bright-red bold">error</tspan><tspan>: encountered 1 error while verifying lints</tspan>
37</tspan>
38    <tspan x="10px" y="172px">
39</tspan>
40  </text>
41
42</svg>