about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMichael Wright <mikerite@lavabit.com>2019-08-21 07:35:04 +0200
committerMichael Wright <mikerite@lavabit.com>2019-08-21 07:35:04 +0200
commit59893bcab0684abf0483fd7da474e34910d9c507 (patch)
tree12ebd4637f7c42c333658be46325a8959d05bd5a /src/test/incremental/thinlto
parent460e2659f1365fd987c2aad3433855ef24f1b700 (diff)
downloadrust-59893bcab0684abf0483fd7da474e34910d9c507.tar.gz
rust-59893bcab0684abf0483fd7da474e34910d9c507.zip
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).
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions