summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/private-public-item-doc-test.stderr
blob: f50dbd1844e7afc0972a8a764c2921e241504d5f (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-public-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-public-item-doc-test.rs:1:9
   |
LL | #![deny(rustdoc::private_doc_tests)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error