about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2022-06-09 23:34:06 +0200
committerest31 <MTest31@outlook.com>2022-06-09 23:34:06 +0200
commit777e136f4cd811bec0c5dabd47e1ae4285f25ca2 (patch)
treea1b8b12186959d8ae8a472bd8c9826219d31530d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenteb3c611e1d3829e05aec8f9887efa164ea2c6da5 (diff)
downloadrust-777e136f4cd811bec0c5dabd47e1ae4285f25ca2.tar.gz
rust-777e136f4cd811bec0c5dabd47e1ae4285f25ca2.zip
Suppress the unused_macro_rules lint if malformed rules are encountered
Prior to this commit, if a macro had any malformed rules, all rules would
be reported as unused, regardless of whether they were used or not.
So we just turn off unused rule checking completely for macros with
malformed rules.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions