Fix the clippy assert!(false) lint

https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants

While I don't feel it's valid, fixing it lets us act on the other, more
useful, lints.
This commit is contained in:
Nickolay Ponomarev 2019-04-21 02:56:22 +03:00
parent a3a8626e6b
commit dee30aabe0
3 changed files with 17 additions and 19 deletions

View file

@ -14,6 +14,6 @@ fn parse_simple_select() {
}) => {
assert_eq!(3, projection.len());
}
_ => assert!(false),
_ => unreachable!(),
}
}