2019-04-20 11:31:38 +01:00
|
|
|
fn main() {}
|
|
|
|
|
|
|
|
|
|
trait T {
|
|
|
|
|
fn qux() -> Option<usize> {
|
|
|
|
|
let _ = if true {
|
|
|
|
|
});
|
2019-11-07 11:26:36 +01:00
|
|
|
//~^ ERROR expected one of `async`
|
2019-10-25 18:30:02 -07:00
|
|
|
//~| ERROR expected one of `.`, `;`, `?`, `else`, or an operator, found `}`
|
2019-04-20 11:31:38 +01:00
|
|
|
Some(4)
|
|
|
|
|
}
|