mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
17 lines
291 B
Rust
17 lines
291 B
Rust
// 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;
|