blob: 1f53a92793236f82808a1b9bcba3cf2c32cb8fcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
fn main() {}
trait T {
fn qux() -> Option<usize> {
let _ = if true {
});
//~^ ERROR expected one of `async`, `const`, `extern`, `fn`, `type`, `unsafe`, or `}`, found `;`
//~| ERROR expected one of `.`, `;`, `?`, `else`, or an operator, found `}`
//~| ERROR expected identifier, found `;`
Some(4)
}
|