diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-04-07 16:18:49 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-07 17:54:35 -0700 |
| commit | 61d0365aacbf9c2729d78032e88138d07e5f15bb (patch) | |
| tree | bf6ef2226f842e09de64084b3a0e14d6c1fa9d41 /src/test/rustdoc | |
| parent | dbaa24241834e124995753a2eba18d787e288845 (diff) | |
| download | rust-61d0365aacbf9c2729d78032e88138d07e5f15bb.tar.gz rust-61d0365aacbf9c2729d78032e88138d07e5f15bb.zip | |
rustdoc: Handle duplicate reexports listed
This ends up causing duplicate output in rustdoc. The source of these duplicates is that the item is defined in both resolve namespaces, so it's listed twice. Closes #23207
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/issue-23207.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-23207.rs b/src/test/rustdoc/issue-23207.rs new file mode 100644 index 00000000000..a44a1dd8b2d --- /dev/null +++ b/src/test/rustdoc/issue-23207.rs @@ -0,0 +1,19 @@ +// Copyright 2015 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +// aux-build:issue-23207-1.rs +// aux-build:issue-23207-2.rs + +extern crate issue_23207_2; + +// @has issue_23207/fmt/index.html +// @count - '//*[@class="struct"]' 1 +pub use issue_23207_2::fmt; + |
