1error[E0308]: mismatched types 2 --> $DIR/empty-trailing-stmt.rs:6:7 3 | 4LL | { true } 5 | ^^^^ expected `()`, found `bool` 6 | 7help: you might have meant to return this value 8 | 9LL | { return true; } 10 | ++++++ + 11 12error[E0308]: mismatched types 13 --> $DIR/empty-trailing-stmt.rs:5:13 14 | 15LL | fn foo() -> bool { 16 | --- ^^^^ expected `bool`, found `()` 17 | | 18 | implicitly returns `()` as its body has no tail or `return` expression 19 20error: aborting due to 2 previous errors 21 22For more information about this error, try `rustc --explain E0308`. 23