fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.2 KiB50 linesraw
1error: unused array of `S` that must be used
2  --> $DIR/must_use-array.rs:44:5
3   |
4LL |     singleton();
5   |     ^^^^^^^^^^^
6   |
7note: the lint level is defined here
8  --> $DIR/must_use-array.rs:1:9
9   |
10LL | #![deny(unused_must_use)]
11   |         ^^^^^^^^^^^^^^^
12
13error: unused array of `S` that must be used
14  --> $DIR/must_use-array.rs:45:5
15   |
16LL |     many();
17   |     ^^^^^^
18
19error: unused array of `S` in tuple element 0 that must be used
20  --> $DIR/must_use-array.rs:46:6
21   |
22LL |     ([S], 0, ());
23   |      ^^^
24
25error: unused array of implementers of `T` that must be used
26  --> $DIR/must_use-array.rs:47:5
27   |
28LL |     array_of_impl_trait();
29   |     ^^^^^^^^^^^^^^^^^^^^^
30
31error: unused array of boxed `T` trait objects in tuple element 1 that must be used
32  --> $DIR/must_use-array.rs:48:5
33   |
34LL |     impl_array();
35   |     ^^^^^^^^^^^^
36
37error: unused array of arrays of arrays of `S` that must be used
38  --> $DIR/must_use-array.rs:50:5
39   |
40LL |     array_of_arrays_of_arrays();
41   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
43error: unused array of `S` that must be used
44  --> $DIR/must_use-array.rs:52:5
45   |
46LL |     usize_max();
47   |     ^^^^^^^^^^^
48
49error: aborting due to 7 previous errors
50