summary refs log tree commit diff
path: root/src/test/ui/keyword/keyword-true-as-identifier.stderr
blob: e5d3938e54ac23930c6279a67ebfcdfc5a005208 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0308]: mismatched types
  --> $DIR/keyword-true-as-identifier.rs:2:9
   |
LL |     let true = 22; //~ error: mismatched types
   |         ^^^^ expected integer, found bool
   |
   = note: expected type `{integer}`
              found type `bool`

error: aborting due to previous error

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