about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-12-30 13:12:33 +0100
committerGitHub <noreply@github.com>2021-12-30 13:12:33 +0100
commitb9f7197ab35f79b4df1f60104b9d8af9e77bb566 (patch)
tree98576295cc009ed696e2cfa177ec11557aedf401 /src/librustdoc/html/static/js/source-script.js
parent65d8785f0a85d233e00fc84445f1aab451ec9f4f (diff)
parentbdb851f567ed6123172b849abbfc9163d268e291 (diff)
downloadrust-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 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions