about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-06-17 23:41:02 +0200
committerGitHub <noreply@github.com>2021-06-17 23:41:02 +0200
commit0274401f93de16c04850fb99b535151e5abd0537 (patch)
treece41c9496f3625cb053cad6a073f511c00419041 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent3d7437fa214d56df7878db9bd9479c75798df8bf (diff)
parente9e844f44cf21bfa9ff8931b9256da57a2dec79f (diff)
downloadrust-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