about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-05-06 17:18:14 +0000
committerGitHub <noreply@github.com>2025-05-06 17:18:14 +0000
commit73dd05cc7af21415b27e9e5e431d0d47adc0d817 (patch)
treed9fdf3465204f567b805d0e1842ab24f28121558 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentcf6bebb3437306b90e97339a197ef495ec620617 (diff)
parent64880cad753c97f1c765dba16a719fec42bf6620 (diff)
downloadrust-73dd05cc7af21415b27e9e5e431d0d47adc0d817.tar.gz
rust-73dd05cc7af21415b27e9e5e431d0d47adc0d817.zip
add allow_unused config to missing_docs_in_private_items (#14453)
fixes #14413
add allow_unused config to missing_docs_in_private_items for underscored
field

changelog: [`missing_docs_in_private_items`]: add allow_unused config to
missing_docs_in_private_items for underscored field

Explaination (quoted from the issue's author): When writing structures
that must adhere to a specific format (such as memory mapped I/O
structures) there are inevitably fields that are "reserved" by
specifications and thus need no documentation. In cases where private
docs are preferred but reserved fields need no explanation, having to
#[allow/expect] this lint removes the ability to check for otherwise
used fields' documentation.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions