Closed
Description
fn main() {
if x<-1 {
}
}
produces:
error: expected `{`, found `<-`
It would be nice if it produced a suggestion to split it up:
if x < -1 {
(This used to happen, but was broken in a previous change.)
fn main() {
if x<-1 {
}
}
produces:
error: expected `{`, found `<-`
It would be nice if it produced a suggestion to split it up:
if x < -1 {
(This used to happen, but was broken in a previous change.)