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-06-29 17:12:04 +0000
committerGitHub <noreply@github.com>2025-06-29 17:12:04 +0000
commit1f76a23d4da45ead0dd0c90b93022cd69c4fc126 (patch)
treee72e55be9e3225cef28a5a145b3a3b9d8a276440 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent428208eb9b61f44e5bbab70feea42a8d55994230 (diff)
parentff3c9c15b7ae8a0ef7b4079b1c39ebb3a3bdbedb (diff)
downloadrust-1f76a23d4da45ead0dd0c90b93022cd69c4fc126.tar.gz
rust-1f76a23d4da45ead0dd0c90b93022cd69c4fc126.zip
`missing_panics_doc`: Allow `unwrap()` and `expect()` inside const-only contexts (#15170)
changelog: [`missing_panics_doc`]: Allow unwrap() and expect()s in
const-only contexts

Fixes rust-lang/rust-clippy#15169.

As far as I can tell, this change keeps this lint in line with similar
issues and their fixes such as
https://github.com/rust-lang/rust-clippy/pull/13382 and
rust-lang/rust-clippy#10240, so I feel pretty confident that the
behavior it exhibits after this PR is correct.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions