]> git.lizzy.rs Git - rust.git/blob - tests/ui/dlist.stderr
remove all //~ from tests
[rust.git] / tests / ui / dlist.stderr
1 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
2   --> $DIR/dlist.rs:13:16
3    |
4 13 |     type Baz = LinkedList<u8>;
5    |                ^^^^^^^^^^^^^^
6    |
7    = note: #[deny(linkedlist)] implied by #[deny(clippy)]
8 note: lint level defined here
9   --> $DIR/dlist.rs:6:9
10    |
11 6  | #![deny(clippy)]
12    |         ^^^^^^
13    = help: a VecDeque might work
14
15 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
16   --> $DIR/dlist.rs:14:12
17    |
18 14 |     fn foo(LinkedList<u8>);
19    |            ^^^^^^^^^^^^^^
20    |
21    = note: #[deny(linkedlist)] implied by #[deny(clippy)]
22    = help: a VecDeque might work
23
24 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
25   --> $DIR/dlist.rs:15:24
26    |
27 15 |     const BAR : Option<LinkedList<u8>>;
28    |                        ^^^^^^^^^^^^^^
29    |
30    = note: #[deny(linkedlist)] implied by #[deny(clippy)]
31    = help: a VecDeque might work
32
33 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
34   --> $DIR/dlist.rs:26:15
35    |
36 26 |     fn foo(_: LinkedList<u8>) {}
37    |               ^^^^^^^^^^^^^^
38    |
39    = note: #[deny(linkedlist)] implied by #[deny(clippy)]
40    = help: a VecDeque might work
41
42 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
43   --> $DIR/dlist.rs:29:39
44    |
45 29 | pub fn test(my_favourite_linked_list: LinkedList<u8>) {
46    |                                       ^^^^^^^^^^^^^^
47    |
48    = note: #[deny(linkedlist)] implied by #[deny(clippy)]
49    = help: a VecDeque might work
50
51 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
52   --> $DIR/dlist.rs:33:29
53    |
54 33 | pub fn test_ret() -> Option<LinkedList<u8>> {
55    |                             ^^^^^^^^^^^^^^
56    |
57    = note: #[deny(linkedlist)] implied by #[deny(clippy)]
58    = help: a VecDeque might work
59
60 error: aborting due to 6 previous errors
61