diff options
Diffstat (limited to 'tests/rustdoc-ui/intra-doc/global-path.rs')
-rw-r--r-- | tests/rustdoc-ui/intra-doc/global-path.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/intra-doc/global-path.rs b/tests/rustdoc-ui/intra-doc/global-path.rs new file mode 100644 index 000000000..cc7a5fa1c --- /dev/null +++ b/tests/rustdoc-ui/intra-doc/global-path.rs @@ -0,0 +1,8 @@ +// Doc link path with empty prefix that resolves to "extern prelude" instead of a module. + +// check-pass +// edition:2018 + +/// [::Unresolved] +//~^ WARN unresolved link to `::Unresolved` +pub struct Item; |