1 2 3 4 5 6 7 8 9 10
#![allow(non_camel_case_types)] struct bool; fn foo(_: bool) {} fn main() { foo(true); //~^ ERROR mismatched types [E0308] }