diff options
| author | bors <bors@rust-lang.org> | 2018-08-21 22:48:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-08-21 22:48:21 +0000 |
| commit | 1cbf339626e52e1e66a6df3097051bb981bfa964 (patch) | |
| tree | 7f11349f8965c7a0a07c66b9d5cc04d063b760e8 /src/test/rustdoc | |
| parent | d0d81b7fc1421859ba0218e8a437af29ae3b0967 (diff) | |
| parent | 985da801b07ec997e3eb6d735a0dfd041728623e (diff) | |
| download | rust-1cbf339626e52e1e66a6df3097051bb981bfa964.tar.gz rust-1cbf339626e52e1e66a6df3097051bb981bfa964.zip | |
Auto merge of #53439 - GuillaumeGomez:generate-blanket-impls-for-reexported-items, r=QuietMisdreavus
Generate blanket implementations for reexported items as well Fixes #53374. r? @QuietMisdreavus
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/blanket-reexport-item.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/rustdoc/blanket-reexport-item.rs b/src/test/rustdoc/blanket-reexport-item.rs new file mode 100644 index 00000000000..355bfa0f2f2 --- /dev/null +++ b/src/test/rustdoc/blanket-reexport-item.rs @@ -0,0 +1,18 @@ +// Copyright 2018 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. + +#![crate_name = "foo"] + +// @has foo/struct.S.html '//h3[@id="impl-Into"]//code' 'impl<T, U> Into for T' +pub struct S2 {} +mod m { + pub struct S {} +} +pub use m::*; |
