about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-08-21 07:25:58 +0000
committerbors <bors@rust-lang.org>2019-08-21 07:25:58 +0000
commit45d24fd6bf45a50c1833a3ebc535c611fa0f785b (patch)
tree12ebd4637f7c42c333658be46325a8959d05bd5a /src/test/incremental/thinlto
parent460e2659f1365fd987c2aad3433855ef24f1b700 (diff)
parent59893bcab0684abf0483fd7da474e34910d9c507 (diff)
downloadrust-45d24fd6bf45a50c1833a3ebc535c611fa0f785b.tar.gz
rust-45d24fd6bf45a50c1833a3ebc535c611fa0f785b.zip
Auto merge of #4425 - mikerite:4375, r=flip1995
Fix `temporary_cstring_as_ptr` false negative

Fixes #4375.

Changes the check to test when `.unwrap().as_ptr()` is called on any
`Result<CString, _>` as suggested by @flip1995
(https://github.com/rust-lang/rust-clippy/issues/4375#issuecomment-520724123).

changelog: Fix `temporary_cstring_as_ptr` false negative
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions