diff options
| author | Michael Wright <mikerite@lavabit.com> | 2019-08-21 07:35:04 +0200 |
|---|---|---|
| committer | Michael Wright <mikerite@lavabit.com> | 2019-08-21 07:35:04 +0200 |
| commit | 59893bcab0684abf0483fd7da474e34910d9c507 (patch) | |
| tree | 12ebd4637f7c42c333658be46325a8959d05bd5a /src/test/incremental/thinlto | |
| parent | 460e2659f1365fd987c2aad3433855ef24f1b700 (diff) | |
| download | rust-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
