summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/bool_typo_err_suggest.stderr
blob: 52bde07ca07701e0f786a40f604fff1cb5a7b484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
error[E0425]: cannot find value `True` in this scope
  --> $DIR/bool_typo_err_suggest.rs:5:13
   |
LL |     let x = True;
   |             ^^^^ not found in this scope
   |
help: you may want to use a bool value instead
   |
LL |     let x = true;
   |             ~~~~

error[E0425]: cannot find value `False` in this scope
  --> $DIR/bool_typo_err_suggest.rs:9:13
   |
LL |     let y = False;
   |             ^^^^^ not found in this scope
   |
help: you may want to use a bool value instead
   |
LL |     let y = false;
   |             ~~~~~

error: aborting due to 2 previous errors

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