summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/intra-doc/broken-link-in-unused-doc-string.rs
blob: f3f044f61058b8ddb803ef20ab3f1172cc2d73d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Test that we don't ICE with broken links that don't show up in the docs.

// check-pass
// edition: 2021

/// [1]
//~^ WARN unresolved link to `1`
//~| WARN unresolved link to `1`
pub use {std, core};

/// [2]
pub use {};

/// [3]
//~^ WARN unresolved link to `3`
pub extern crate alloc;