blob: 350aaa9bdddc1a7f8fd24f8b830a9235cbb40dda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: emplacement syntax is obsolete (for now, anyway)
--> $DIR/placement-syntax.rs:3:8
|
LL | if x<-1 {
| ^^^^
|
= note: for more information, see <https://github.com/rust-lang/rust/issues/27779#issuecomment-378416911>
help: if you meant to write a comparison against a negative value, add a space in between `<` and `-`
|
LL | if x< -1 {
| ^^^
error: aborting due to previous error
|