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