]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/dlist.stderr
Fix the test suite after cargo update
[rust.git] / clippy_tests / examples / dlist.stderr
1 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
2   --> dlist.rs:13:16
3    |
4 13 |     type Baz = LinkedList<u8>;
5    |                ^^^^^^^^^^^^^^
6    |
7    = note: `-D linkedlist` implied by `-D warnings`
8    = help: a VecDeque might work
9
10 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
11   --> dlist.rs:14:12
12    |
13 14 |     fn foo(LinkedList<u8>);
14    |            ^^^^^^^^^^^^^^
15    |
16    = note: `-D linkedlist` implied by `-D warnings`
17    = help: a VecDeque might work
18
19 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
20   --> dlist.rs:15:24
21    |
22 15 |     const BAR : Option<LinkedList<u8>>;
23    |                        ^^^^^^^^^^^^^^
24    |
25    = note: `-D linkedlist` implied by `-D warnings`
26    = help: a VecDeque might work
27
28 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
29   --> dlist.rs:26:15
30    |
31 26 |     fn foo(_: LinkedList<u8>) {}
32    |               ^^^^^^^^^^^^^^
33    |
34    = note: `-D linkedlist` implied by `-D warnings`
35    = help: a VecDeque might work
36
37 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
38   --> dlist.rs:29:39
39    |
40 29 | pub fn test(my_favourite_linked_list: LinkedList<u8>) {
41    |                                       ^^^^^^^^^^^^^^
42    |
43    = note: `-D linkedlist` implied by `-D warnings`
44    = help: a VecDeque might work
45
46 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
47   --> dlist.rs:33:29
48    |
49 33 | pub fn test_ret() -> Option<LinkedList<u8>> {
50    |                             ^^^^^^^^^^^^^^
51    |
52    = note: `-D linkedlist` implied by `-D warnings`
53    = help: a VecDeque might work
54
55 error: aborting due to previous error(s)
56
57
58 To learn more, run the command again with --verbose.