]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/linkedlist.stderr
Rollup merge of #84221 - ABouttefeux:generic-arg-elision, r=estebank
[rust.git] / src / tools / clippy / 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    = note: `-D clippy::linkedlist` implied by `-D warnings`
8    = help: a `VecDeque` might work
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:25:15
44    |
45 LL |     fn foo(_: 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:39
52    |
53 LL | pub fn test(my_favourite_linked_list: 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:32:29
60    |
61 LL | pub fn test_ret() -> Option<LinkedList<u8>> {
62    |                             ^^^^^^^^^^^^^^
63    |
64    = help: a `VecDeque` might work
65
66 error: aborting due to 8 previous errors
67