rust/tests/rustdoc-ui/intra-doc/global-path.rs

9 lines
202 B
Rust
Raw Normal View History

// 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;