diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-30 13:12:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-30 13:12:33 +0100 |
| commit | b9f7197ab35f79b4df1f60104b9d8af9e77bb566 (patch) | |
| tree | 98576295cc009ed696e2cfa177ec11557aedf401 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 65d8785f0a85d233e00fc84445f1aab451ec9f4f (diff) | |
| parent | bdb851f567ed6123172b849abbfc9163d268e291 (diff) | |
| download | rust-b9f7197ab35f79b4df1f60104b9d8af9e77bb566.tar.gz rust-b9f7197ab35f79b4df1f60104b9d8af9e77bb566.zip | |
Rollup merge of #91519 - petrochenkov:cratexp2, r=Aaron1011
ast: Avoid aborts on fatal errors thrown from mutable AST visitor Set the node to some dummy value and rethrow the error instead. When using the old aborting `visit_clobber` in `InvocationCollector::visit_crate` the next tests abort due to fatal errors: ``` ui\modules\path-invalid-form.rs ui\modules\path-macro.rs ui\modules\path-no-file-name.rs ui\parser\issues\issue-5806.rs ui\parser\mod_file_with_path_attr.rs ``` Follow up to https://github.com/rust-lang/rust/pull/91313.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
