rust-clippy/clippy_tests/examples/dlist.stderr

54 lines
1.5 KiB
Text
Raw Normal View History

error: I see you're using a LinkedList! Perhaps you meant some other data structure?
--> dlist.rs:13:16
|
2017-02-08 13:58:07 +00:00
13 | type Baz = LinkedList<u8>;
| ^^^^^^^^^^^^^^
|
= note: `-D linkedlist` implied by `-D warnings`
= help: a VecDeque might work
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
--> dlist.rs:14:12
|
2017-02-08 13:58:07 +00:00
14 | fn foo(LinkedList<u8>);
| ^^^^^^^^^^^^^^
|
= help: a VecDeque might work
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
--> dlist.rs:15:24
|
2017-02-08 13:58:07 +00:00
15 | const BAR : Option<LinkedList<u8>>;
| ^^^^^^^^^^^^^^
|
= help: a VecDeque might work
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
--> dlist.rs:26:15
|
2017-02-08 13:58:07 +00:00
26 | fn foo(_: LinkedList<u8>) {}
| ^^^^^^^^^^^^^^
|
= help: a VecDeque might work
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
--> dlist.rs:29:39
|
2017-02-08 13:58:07 +00:00
29 | pub fn test(my_favourite_linked_list: LinkedList<u8>) {
| ^^^^^^^^^^^^^^
|
= help: a VecDeque might work
error: I see you're using a LinkedList! Perhaps you meant some other data structure?
--> dlist.rs:33:29
|
2017-02-08 13:58:07 +00:00
33 | pub fn test_ret() -> Option<LinkedList<u8>> {
| ^^^^^^^^^^^^^^
|
= help: a VecDeque might work
2017-07-03 04:37:30 +00:00
error: aborting due to 6 previous errors
To learn more, run the command again with --verbose.