]> git.lizzy.rs Git - rust.git/blob - tests/ui/dlist.stderr
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[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:19:16
3    |
4 LL |     type Baz = LinkedList<u8>;
5    |                ^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::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   --> $DIR/dlist.rs:20:12
12    |
13 LL |     fn foo(LinkedList<u8>);
14    |            ^^^^^^^^^^^^^^
15    |
16    = help: a VecDeque might work
17
18 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
19   --> $DIR/dlist.rs:21:23
20    |
21 LL |     const BAR: Option<LinkedList<u8>>;
22    |                       ^^^^^^^^^^^^^^
23    |
24    = help: a VecDeque might work
25
26 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
27   --> $DIR/dlist.rs:32:15
28    |
29 LL |     fn foo(_: LinkedList<u8>) {}
30    |               ^^^^^^^^^^^^^^
31    |
32    = help: a VecDeque might work
33
34 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
35   --> $DIR/dlist.rs:35:39
36    |
37 LL | pub fn test(my_favourite_linked_list: LinkedList<u8>) {
38    |                                       ^^^^^^^^^^^^^^
39    |
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:39:29
44    |
45 LL | pub fn test_ret() -> Option<LinkedList<u8>> {
46    |                             ^^^^^^^^^^^^^^
47    |
48    = help: a VecDeque might work
49
50 error: aborting due to 6 previous errors
51