]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-ui/lint-group.stderr
Separate `missing_doc_code_examples` from intra-doc links
[rust.git] / src / test / rustdoc-ui / lint-group.stderr
index 14d72e9aad3ba8cfaa9a21db2ab5dd41fccc9569..ad923c714da4daf741deb4680dfbb916e3550efc 100644 (file)
@@ -1,3 +1,16 @@
+error: missing code example in this documentation
+  --> $DIR/lint-group.rs:16:1
+   |
+LL | /// wait, this doesn't have a doctest?
+   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+   |
+note: the lint level is defined here
+  --> $DIR/lint-group.rs:7:9
+   |
+LL | #![deny(rustdoc)]
+   |         ^^^^^^^
+   = note: `#[deny(missing_doc_code_examples)]` implied by `#[deny(rustdoc)]`
+
 error: documentation test in private item
   --> $DIR/lint-group.rs:19:1
    |
@@ -29,18 +42,5 @@ LL | #![deny(rustdoc)]
    = note: `#[deny(intra_doc_link_resolution_failure)]` implied by `#[deny(rustdoc)]`
    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
 
-error: missing code example in this documentation
-  --> $DIR/lint-group.rs:16:1
-   |
-LL | /// wait, this doesn't have a doctest?
-   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-   |
-note: the lint level is defined here
-  --> $DIR/lint-group.rs:7:9
-   |
-LL | #![deny(rustdoc)]
-   |         ^^^^^^^
-   = note: `#[deny(missing_doc_code_examples)]` implied by `#[deny(rustdoc)]`
-
 error: aborting due to 3 previous errors