diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-06-17 23:41:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-17 23:41:02 +0200 |
| commit | 0274401f93de16c04850fb99b535151e5abd0537 (patch) | |
| tree | ce41c9496f3625cb053cad6a073f511c00419041 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 3d7437fa214d56df7878db9bd9479c75798df8bf (diff) | |
| parent | e9e844f44cf21bfa9ff8931b9256da57a2dec79f (diff) | |
| download | rust-0274401f93de16c04850fb99b535151e5abd0537.tar.gz rust-0274401f93de16c04850fb99b535151e5abd0537.zip | |
Rollup merge of #86401 - FabianWolff:issue-83512, r=LeSeulArtichaut
Fix ICE when using `#[doc(keyword = "...")]` on non-items This pull request fixes #83512. The code for checking attributes calls `expect_item()` when it shouldn't, thus causing an ICE. I have implemented a proper check for the node kind, so that an error is reported instead of the ICE.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
