summaryrefslogtreecommitdiffstats
path: root/tests/ui/block-result/block-must-not-have-result-do.stderr
blob: 914886f81b4aedf4d0d0aa91b38a674cacc705a5 (plain)
1
2
3
4
5
6
7
8
9
error[E0308]: mismatched types
  --> $DIR/block-must-not-have-result-do.rs:3:9
   |
LL |         true
   |         ^^^^ expected `()`, found `bool`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.