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