Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
2e7ca73
Don't emit an error on private doc tests when they're ignored
GuillaumeGomez Sep 12, 2020
15d25a8
Add test for ignored private doc test
GuillaumeGomez Sep 12, 2020
58310ce
Use intra-doc links in `core::mem`
camelid Sep 14, 2020
f7f9a6c
Add a comment why `extern crate` is necessary for rustdoc
jyn514 Sep 15, 2020
7d5db23
This commit introduces the following changes:
hameerabbasi Sep 14, 2020
5f0b775
Remove redundant `&format!`.
hameerabbasi Sep 15, 2020
b93a831
Add a comment why rustdoc loads crates from the sysroot
jyn514 Sep 15, 2020
5f3145f
Avoid printing dry run timings
Mark-Simulacrum Sep 15, 2020
2a5a6b4
Add missing code examples in libcore
GuillaumeGomez Sep 15, 2020
73d4171
fix a couple of stylistic clippy warnings
matthiaskrgr Sep 15, 2020
fafb2e9
[fuchsia] Propagate the userspace UTC clock
Sep 15, 2020
143e4e9
Fix stabilization marker for future_readiness_fns
yoshuawuyts Sep 15, 2020
fd9be8f
don't lazily evaulate some trivial values for Option::None replacemen…
matthiaskrgr Sep 15, 2020
e0c1621
Update books
ehuss Sep 15, 2020
c910e03
Strip a single leading tab when rendering dataflow diffs
ecstatic-morse Sep 16, 2020
1dc4f85
Simplify iter fuse struct doc
pickfire Sep 16, 2020
d04ca00
Remove unnecessary `clone()`s in bootstrap
jyn514 Sep 15, 2020
f240abc
Add array window fn
JulianKnodt Aug 13, 2020
5c29332
Make graphviz font configurable
richkadel Sep 16, 2020
3875abe
Added RUSTC_GRAPHVIZ_FONT environment variable
richkadel Sep 16, 2020
23a6777
Rollup merge of #75026 - JulianKnodt:array_windows, r=Amanieu
tmandry Sep 16, 2020
ece688b
Rollup merge of #76642 - GuillaumeGomez:ignored-private-doc-test, r=j…
tmandry Sep 16, 2020
a63f8c1
Rollup merge of #76719 - hameerabbasi:min-const-generics-ty, r=lcnr
tmandry Sep 16, 2020
153fb91
Rollup merge of #76721 - camelid:intra-doc-links-for-core-mem, r=jyn514
tmandry Sep 16, 2020
6e57eec
Rollup merge of #76728 - jyn514:rustdoc-extern-crate, r=ehuss
tmandry Sep 16, 2020
2e0dbf1
Rollup merge of #76735 - jyn514:no-clone, r=Mark-Simulacrum
tmandry Sep 16, 2020
2339374
Rollup merge of #76741 - Mark-Simulacrum:no-dry-run-timing, r=alexcri…
tmandry Sep 16, 2020
ab78ca9
Rollup merge of #76747 - GuillaumeGomez:more-missing-libcore-code-exa…
tmandry Sep 16, 2020
a6c4d30
Rollup merge of #76756 - matthiaskrgr:cl123ppy, r=Dylan-DPC
tmandry Sep 16, 2020
ab20774
Rollup merge of #76758 - adamlesinski:clone_clock, r=tmandry
tmandry Sep 16, 2020
273267c
Rollup merge of #76759 - yoshuawuyts:fix-future-pending-ready-stabili…
tmandry Sep 16, 2020
6e0131c
Rollup merge of #76760 - matthiaskrgr:clippy_lazy_eval, r=varkor
tmandry Sep 16, 2020
5d8bc90
Rollup merge of #76764 - ehuss:update-books, r=ehuss
tmandry Sep 16, 2020
cd766c9
Rollup merge of #76775 - ecstatic-morse:dataflow-extra-tab-diff, r=Ma…
tmandry Sep 16, 2020
d3c6321
Rollup merge of #76778 - pickfire:patch-7, r=jonas-schievink
tmandry Sep 16, 2020
3bf66ae
Rollup merge of #76794 - richkadel:graphviz-font, r=ecstatic-morse
tmandry Sep 16, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add test for ignored private doc test
  • Loading branch information
GuillaumeGomez committed Sep 12, 2020
commit 15d25a8a7272708cd841c90884f7d3626af9b6a9
4 changes: 2 additions & 2 deletions src/test/rustdoc-ui/coverage/doc-examples.stdout
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+-------------------------------------+------------+------------+------------+------------+
| File | Documented | Percentage | Examples | Percentage |
+-------------------------------------+------------+------------+------------+------------+
| ...tdoc-ui/coverage/doc-examples.rs | 4 | 100.0% | 2 | 50.0% |
| ...tdoc-ui/coverage/doc-examples.rs | 4 | 100.0% | 1 | 25.0% |
+-------------------------------------+------------+------------+------------+------------+
| Total | 4 | 100.0% | 2 | 50.0% |
| Total | 4 | 100.0% | 1 | 25.0% |
+-------------------------------------+------------+------------+------------+------------+
12 changes: 12 additions & 0 deletions src/test/rustdoc-ui/private-doc-test.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// check-pass

#![deny(private_doc_tests)]

mod foo {
/// private doc test
///
/// ```ignore (used for testing ignored doc tests)
/// assert!(false);
/// ```
fn bar() {}
}