]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/bool_typo_err_suggest.stderr
Rollup merge of #106869 - notriddle:notriddle/item-decl-pre-rust, r=GuillaumeGomez
[rust.git] / tests / ui / suggestions / bool_typo_err_suggest.stderr
1 error[E0425]: cannot find value `True` in this scope
2   --> $DIR/bool_typo_err_suggest.rs:5:13
3    |
4 LL |     let x = True;
5    |             ^^^^ not found in this scope
6    |
7 help: you may want to use a bool value instead
8    |
9 LL |     let x = true;
10    |             ~~~~
11
12 error[E0425]: cannot find value `False` in this scope
13   --> $DIR/bool_typo_err_suggest.rs:9:13
14    |
15 LL |     let y = False;
16    |             ^^^^^ not found in this scope
17    |
18 help: you may want to use a bool value instead
19    |
20 LL |     let y = false;
21    |             ~~~~~
22
23 error: aborting due to 2 previous errors
24
25 For more information about this error, try `rustc --explain E0425`.