rust-clippy/tests/ui/missing_inline_executable.rs

6 lines
80 B
Rust
Raw Normal View History

#![warn(clippy::missing_inline_in_public_items)]
pub fn foo() {}
fn main() {}