Michael Wright
|
59893bcab0
|
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).
|
2019-08-21 07:35:04 +02:00 |
|
Lzu Tao
|
c23a5c586f
|
Fix lint_cstring_as_ptr for expect
|
2019-08-09 12:39:33 +07:00 |
|
Philipp Hansch
|
38d4ac7cea
|
Remove all copyright license headers
Discussion previously happened in https://github.com/rust-lang/rust/pull/43498
|
2019-01-08 21:46:39 +01:00 |
|
Matthias Krüger
|
435299be30
|
rustfmt tests
|
2018-12-09 23:26:16 +01:00 |
|
Oliver Scherer
|
b8654eaa6c
|
Stabilize tool lints
|
2018-10-11 12:16:22 +02:00 |
|
Manish Goregaokar
|
e9c025ea70
|
Add license header to Rust files
|
2018-10-06 09:43:08 -07:00 |
|
flip1995
|
1b6f6051a8
|
Adapt ui-tests to the tool_lints
|
2018-08-29 11:08:29 -07:00 |
|
Cameron Steffen
|
6d94167014
|
move cstring tests
|
2017-10-09 23:39:45 -05:00 |
|