mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
10 lines
171 B
Rust
10 lines
171 B
Rust
// check-pass
|
|
|
|
#![crate_type = "lib"]
|
|
#![deny(invalid_doc_attributes)]
|
|
#![doc(test(no_crate_inject))]
|
|
#![doc(test(attr(deny(warnings))))]
|
|
#![doc(test())]
|
|
|
|
pub fn foo() {}
|