1 // aux-build:reexport-check.rs
4 extern crate reexport_check;
6 // @!has 'foo/index.html' '//code' 'pub use self::i32;'
7 // @has 'foo/i32/index.html'
8 #[allow(deprecated, deprecated_in_future)]
10 // @!has 'foo/index.html' '//code' 'pub use self::string::String;'
11 // @has 'foo/index.html' '//div[@class="item-left"]' 'String'
12 pub use std::string::String;
14 // i32 is deprecated, String is not
15 // @count 'foo/index.html' '//span[@class="stab deprecated"]' 1
17 // @has 'foo/index.html' '//div[@class="item-right docblock-short"]' 'Docs in original'
18 // this is a no-op, but shows what happens if there's an attribute that isn't a doc-comment
20 pub use reexport_check::S;