summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/glob-shadowing-const.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/glob-shadowing-const.rs')
-rw-r--r--src/test/rustdoc/glob-shadowing-const.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/rustdoc/glob-shadowing-const.rs b/src/test/rustdoc/glob-shadowing-const.rs
deleted file mode 100644
index 5b786cf53..000000000
--- a/src/test/rustdoc/glob-shadowing-const.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-// https://github.com/rust-lang/rust/pull/83872#issuecomment-820101008
-#![crate_name="foo"]
-
-mod sub4 {
- /// 0
- pub const X: usize = 0;
- pub mod inner {
- pub use super::*;
- /// 1
- pub const X: usize = 1;
- }
-}
-
-#[doc(inline)]
-pub use sub4::inner::*;
-
-// @has 'foo/index.html'
-// @has - '//div[@class="item-right docblock-short"]' '1'
-// @!has - '//div[@class="item-right docblock-short"]' '0'
-fn main() { assert_eq!(X, 1); }