mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
27 lines
356 B
Rust
27 lines
356 B
Rust
//@ check-pass
|
|
//@ aux-crate:dep1=dep1.rs
|
|
//@ aux-crate:dep2=dep2.rs
|
|
//@ aux-crate:dep3=dep3.rs
|
|
//@ aux-crate:dep4=dep4.rs
|
|
#![deny(rustdoc::broken_intra_doc_links)]
|
|
|
|
pub trait Trait {
|
|
/// [dep1]
|
|
type Item;
|
|
}
|
|
|
|
pub struct S {
|
|
/// [dep2]
|
|
pub x: usize,
|
|
}
|
|
|
|
extern "C" {
|
|
/// [dep3]
|
|
pub fn printf();
|
|
}
|
|
|
|
pub enum E {
|
|
/// [dep4]
|
|
A
|
|
}
|