mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +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() {}
|