X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Frustdoc%2Finline_cross%2Fcross-glob.rs;h=7a519d2d2554792362e233f75cab42eae31c13b5;hb=28340bab88507a80c326422933eb3e17558ab915;hp=f97da11a9014905d7168341b6e7ddf16c9b0e6d6;hpb=43134714f529d087aecb8c6327ca282c2fa261f1;p=rust.git diff --git a/tests/rustdoc/inline_cross/cross-glob.rs b/tests/rustdoc/inline_cross/cross-glob.rs index f97da11a901..7a519d2d255 100644 --- a/tests/rustdoc/inline_cross/cross-glob.rs +++ b/tests/rustdoc/inline_cross/cross-glob.rs @@ -6,6 +6,11 @@ // @has cross_glob/struct.SomeStruct.html // @has cross_glob/fn.some_fn.html +// @!has cross_glob/enum.Shadowed.html // @!has cross_glob/index.html '//code' 'pub use inner::*;' #[doc(inline)] pub use inner::*; + +// This type shadows the glob-imported enum `Shadowed`. +// @has cross_glob/type.Shadowed.html +pub type Shadowed = u8;