diff options
| author | bors <bors@rust-lang.org> | 2023-12-01 10:41:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-01 10:41:16 +0000 |
| commit | 57e90240a58bc106d98548687e158bdc0be26337 (patch) | |
| tree | 479f982ffe4af84544a29481bf5bf18d6b65a3ee /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | c9d189d1375e59a6c9b4d62fdede94ade001f6ee (diff) | |
| parent | e076192dd8d14dd20d8e187af9a9ffca92e21e88 (diff) | |
| download | rust-57e90240a58bc106d98548687e158bdc0be26337.tar.gz rust-57e90240a58bc106d98548687e158bdc0be26337.zip | |
Auto merge of #15961 - ohno418:top-level-let-stmt, r=Veykril
Improve error handling for top-level `let` statements This commit addresses the issue of excessive and unrelated errors generated by top-level `let` statements. Now, only a single error is produced, indicating that `let` statements are invalid at the top level. --- Fixes https://github.com/rust-lang/rust-analyzer/issues/14963. While I'm not really sure if handling a particular case in a special manner is appropriate, it would be good to suppress the excessive number of annoying and unrelated errors.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
