summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/doctest/private-item-doc-test.stderr
blob: 5df6132987c9fe4f6eda4291cbf97f538ebc7e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: documentation test in private item
  --> $DIR/private-item-doc-test.rs:4:5
   |
LL | /     /// private doc test
LL | |     ///
LL | |     /// ```
LL | |     /// assert!(false);
LL | |     /// ```
   | |___________^
   |
note: the lint level is defined here
  --> $DIR/private-item-doc-test.rs:1:9
   |
LL | #![deny(rustdoc::private_doc_tests)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error