diff options
| author | Esteban Kuber <esteban@kuber.com.ar> | 2022-01-12 20:43:24 +0000 |
|---|---|---|
| committer | Esteban Kuber <esteban@kuber.com.ar> | 2022-02-28 18:22:45 +0000 |
| commit | f42b4f595e68b224d72e143b2785160876ab0ff1 (patch) | |
| tree | 13e8c2f80d4040cd297b1f1442fc41ae46f5a917 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | 97cde9fe08804a3a5208d77f6870ad7d43f8c9c3 (diff) | |
| download | rust-f42b4f595e68b224d72e143b2785160876ab0ff1.tar.gz rust-f42b4f595e68b224d72e143b2785160876ab0ff1.zip | |
Tweak diagnostics
* Recover from invalid `'label: ` before block.
* Make suggestion to enclose statements in a block multipart.
* Point at `match`, `while`, `loop` and `unsafe` keywords when failing
to parse their expression.
* Do not suggest `{ ; }`.
* Do not suggest `|` when very unlikely to be what was wanted (in `let`
statements).
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
