rust-clippy/tests/ui/missing_inline_executable.rs

5 lines
80 B
Rust

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