about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-18 04:41:59 +0100
committerGitHub <noreply@github.com>2022-01-18 04:41:59 +0100
commit804072fdfc4db19b4f3deac52fe8318a52ce19b5 (patch)
treefb466381c46f3ad7685d07f5772b6c4d83d2bd85 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentcb5ecff8b2c4cd083cb1429d4e14e083812dd0a7 (diff)
parentb59e743666adba7ad0eb1a8eaea5c5ffb7086e01 (diff)
downloadrust-804072fdfc4db19b4f3deac52fe8318a52ce19b5.tar.gz
rust-804072fdfc4db19b4f3deac52fe8318a52ce19b5.zip
Rollup merge of #92701 - ehuss:even-more-attr-validation, r=matthewjasper
Add some more attribute validation

This adds some more validation for the position of attributes:

* `link` is only valid on an `extern` block
* `windows_subsystem` and `no_builtins` are only valid at the crate level
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions