]> git.lizzy.rs Git - rust.git/blob - tests/ui/linkedlist.stderr
Auto merge of #9684 - kraktus:ref_option_ref, r=xFrednet
[rust.git] / tests / ui / linkedlist.stderr
1 error: you seem to be using a `LinkedList`! Perhaps you meant some other data structure?
2   --> $DIR/linkedlist.rs:8:10
3    |
4 LL | const C: LinkedList<i32> = LinkedList::new();
5    |          ^^^^^^^^^^^^^^^
6    |
7    = help: a `VecDeque` might work
8    = note: `-D clippy::linkedlist` implied by `-D warnings`
9
10 error: you seem to be using a `LinkedList`! Perhaps you meant some other data structure?
11   --> $DIR/linkedlist.rs:9:11
12    |
13 LL | static S: LinkedList<i32> = LinkedList::new();
14    |           ^^^^^^^^^^^^^^^
15    |
16    = help: a `VecDeque` might work
17
18 error: you seem to be using a `LinkedList`! Perhaps you meant some other data structure?
19   --> $DIR/linkedlist.rs:12:16
20    |
21 LL |     type Baz = LinkedList<u8>;
22    |                ^^^^^^^^^^^^^^
23    |
24    = help: a `VecDeque` might work
25
26 error: you seem to be using a `LinkedList`! Perhaps you meant some other data structure?
27   --> $DIR/linkedlist.rs:13:15
28    |
29 LL |     fn foo(_: LinkedList<u8>);
30    |               ^^^^^^^^^^^^^^
31    |
32    = help: a `VecDeque` might work
33
34 error: you seem to be using a `LinkedList`! Perhaps you meant some other data structure?
35   --> $DIR/linkedlist.rs:14:23
36    |
37 LL |     const BAR: Option<LinkedList<u8>>;
38    |                       ^^^^^^^^^^^^^^
39    |
40    = help: a `VecDeque` might work
41
42 error: you seem to be using a `LinkedList`! Perhaps you meant some other data structure?
43   --> $DIR/linkedlist.rs:24:29
44    |
45 LL |     priv_linked_list_field: LinkedList<u8>,
46    |                             ^^^^^^^^^^^^^^
47    |
48    = help: a `VecDeque` might work
49
50 error: you seem to be using a `LinkedList`! Perhaps you meant some other data structure?
51   --> $DIR/linkedlist.rs:28:15
52    |
53 LL |     fn foo(_: LinkedList<u8>) {}
54    |               ^^^^^^^^^^^^^^
55    |
56    = help: a `VecDeque` might work
57
58 error: you seem to be using a `LinkedList`! Perhaps you meant some other data structure?
59   --> $DIR/linkedlist.rs:33:34
60    |
61 LL | fn test(my_favorite_linked_list: LinkedList<u8>) {}
62    |                                  ^^^^^^^^^^^^^^
63    |
64    = help: a `VecDeque` might work
65
66 error: you seem to be using a `LinkedList`! Perhaps you meant some other data structure?
67   --> $DIR/linkedlist.rs:34:25
68    |
69 LL | fn test_ret() -> Option<LinkedList<u8>> {
70    |                         ^^^^^^^^^^^^^^
71    |
72    = help: a `VecDeque` might work
73
74 error: aborting due to 9 previous errors
75