#![feature(coverage_attribute)] //@ edition: 2021 //@ compile-flags: -Zcoverage-options=branch //@ llvm-cov-flags: --show-branches=count fn print_size() { if std::mem::size_of::() > 4 { println!("size > 4"); } else { println!("size <= 4"); } } #[coverage(off)] fn main() { print_size::<()>(); print_size::(); print_size::(); }