about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-01 10:41:16 +0000
committerbors <bors@rust-lang.org>2023-12-01 10:41:16 +0000
commit57e90240a58bc106d98548687e158bdc0be26337 (patch)
tree479f982ffe4af84544a29481bf5bf18d6b65a3ee /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parentc9d189d1375e59a6c9b4d62fdede94ade001f6ee (diff)
parente076192dd8d14dd20d8e187af9a9ffca92e21e88 (diff)
downloadrust-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_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions