]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/dlist.stderr
Auto merge of #71751 - oli-obk:const_ice, r=RalfJung
[rust.git] / src / tools / clippy / tests / ui / dlist.stderr
1 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
2   --> $DIR/dlist.rs:9: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:10:15
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:11: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:22: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:25: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:29: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