diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-08-16 15:14:11 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-08-16 15:14:11 +0200 |
| commit | 985da801b07ec997e3eb6d735a0dfd041728623e (patch) | |
| tree | 473d38651d27ff22b5aad9217d02a896f15dceb7 /src/test/rustdoc | |
| parent | afd0a2f2499ff66e74236c5b06d3ab9ab87dd3d3 (diff) | |
| download | rust-985da801b07ec997e3eb6d735a0dfd041728623e.tar.gz rust-985da801b07ec997e3eb6d735a0dfd041728623e.zip | |
Generate blanket implementations for reexported items as well
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::*; |
