]> git.lizzy.rs Git - rust.git/commit
sugg: suggest the usage of boolean value when there is a typo in the keyword
authorVincenzo Palazzo <vincenzopalazzodev@gmail.com>
Sat, 20 Aug 2022 20:47:31 +0000 (20:47 +0000)
committerVincenzo Palazzo <vincenzopalazzodev@gmail.com>
Mon, 22 Aug 2022 22:53:40 +0000 (22:53 +0000)
commit69715c903312c3e734bfd9098a5e8773f2e19d01
tree0ee1869b86dad60ecb23c2693c57454af271c86c
parentdd01122b5c62a04e64b4109c5576eeea9ae4145b
sugg: suggest the usage of boolean value when there is a typo in the keyword

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
compiler/rustc_resolve/src/late/diagnostics.rs
src/test/ui/suggestions/bool_typo_err_suggest.rs [new file with mode: 0644]
src/test/ui/suggestions/bool_typo_err_suggest.stderr [new file with mode: 0644]