blob: 054a5c15c3f8a37c472cb329c4534e77d1a08df1 [file] [log] [blame]
fn foo(b: bool) -> Result<bool,String> { //~ ERROR mismatched types
Err("bar".to_string());
}
fn main() {
foo(false);
}