]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/dlist.stderr
Auto merge of #68717 - petrochenkov:stabexpat, r=varkor
[rust.git] / tests / ui / dlist.stderr
index e4712e5d07f86d45526459e34545329d100a5f25..64fde33c64f5228edb53bd57ad423972c1e4320d 100644 (file)
@@ -5,15 +5,15 @@ LL |     type Baz = LinkedList<u8>;
    |                ^^^^^^^^^^^^^^
    |
    = note: `-D clippy::linkedlist` implied by `-D warnings`
-   = help: a VecDeque might work
+   = help: a `VecDeque` might work
 
 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
-  --> $DIR/dlist.rs:10:12
+  --> $DIR/dlist.rs:10:15
    |
-LL |     fn foo(LinkedList<u8>);
-   |            ^^^^^^^^^^^^^^
+LL |     fn foo(_: LinkedList<u8>);
+   |               ^^^^^^^^^^^^^^
    |
-   = help: a VecDeque might work
+   = help: a `VecDeque` might work
 
 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
   --> $DIR/dlist.rs:11:23
@@ -21,7 +21,7 @@ error: I see you're using a LinkedList! Perhaps you meant some other data struct
 LL |     const BAR: Option<LinkedList<u8>>;
    |                       ^^^^^^^^^^^^^^
    |
-   = help: a VecDeque might work
+   = help: a `VecDeque` might work
 
 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
   --> $DIR/dlist.rs:22:15
@@ -29,7 +29,7 @@ error: I see you're using a LinkedList! Perhaps you meant some other data struct
 LL |     fn foo(_: LinkedList<u8>) {}
    |               ^^^^^^^^^^^^^^
    |
-   = help: a VecDeque might work
+   = help: a `VecDeque` might work
 
 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
   --> $DIR/dlist.rs:25:39
@@ -37,7 +37,7 @@ error: I see you're using a LinkedList! Perhaps you meant some other data struct
 LL | pub fn test(my_favourite_linked_list: LinkedList<u8>) {
    |                                       ^^^^^^^^^^^^^^
    |
-   = help: a VecDeque might work
+   = help: a `VecDeque` might work
 
 error: I see you're using a LinkedList! Perhaps you meant some other data structure?
   --> $DIR/dlist.rs:29:29
@@ -45,7 +45,7 @@ error: I see you're using a LinkedList! Perhaps you meant some other data struct
 LL | pub fn test_ret() -> Option<LinkedList<u8>> {
    |                             ^^^^^^^^^^^^^^
    |
-   = help: a VecDeque might work
+   = help: a `VecDeque` might work
 
 error: aborting due to 6 previous errors