blob: 735bfe758eb3c76a3a6daad596c58b85bf8898ae (
plain)
1
2
3
4
5
6
7
8
9
10
|
$ cargo run
Compiling branches v0.1.0 (file:///projects/branches)
error[E0308]: mismatched types
--> src/main.rs:4:8
|
4 | if number {
| ^^^^^^ expected `bool`, found integer
For more information about this error, try `rustc --explain E0308`.
error: could not compile `branches` due to previous error
|