From 985da801b07ec997e3eb6d735a0dfd041728623e Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 16 Aug 2018 15:14:11 +0200 Subject: Generate blanket implementations for reexported items as well --- src/test/rustdoc/blanket-reexport-item.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/test/rustdoc/blanket-reexport-item.rs (limited to 'src/test/rustdoc') 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 or the MIT license +// , 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 Into for T' +pub struct S2 {} +mod m { + pub struct S {} +} +pub use m::*; -- cgit 1.4.1-3-g733a5