Federico Guerinoni
|
3298de7f66
|
Add borrow_as_ptr lint
Closes: #6995
Signed-off-by: Federico Guerinoni <guerinoni.federico@gmail.com>
Co-authored-by: Paolo Barbolini <paolo@paolo565.org>
|
2022-01-11 09:53:29 +01:00 |
|
flip1995
|
9311c11d7c
|
Fix sync fallout
|
2020-08-11 14:21:27 +02:00 |
|
Ryan1729
|
873e5f5c19
|
add allow unused_unsafe and allow dead_code
|
2020-08-09 00:39:14 -06:00 |
|
Ryan1729
|
bc8d32d36b
|
fix unary minus on usize and unused variable errors in .fixed file
|
2020-08-09 00:28:56 -06:00 |
|
Ryan1729
|
84db238fa1
|
add a test example of where transmutes_expressible_as_ptr_casts should not suggest anything
|
2020-08-09 00:15:56 -06:00 |
|
Ryan Wiedemann
|
49c7e39d03
|
Apply suggestions from code review
Co-authored-by: Philipp Krones <hello@philkrones.com>
|
2020-08-06 07:57:31 -06:00 |
|
Ryan1729
|
b0c8c7af16
|
add newline to transmutes_expressible_as_ptr_casts.rs
|
2020-08-06 04:49:06 -06:00 |
|
Ryan1729
|
94340d6e17
|
add documentation to functions that call do_check and add a test against lint ordering changing
|
2020-08-06 04:24:25 -06:00 |
|
Ryan1729
|
ccc4747f46
|
get the expected number of errors by acknowledging that other lints are covering the same ground
|
2020-08-06 04:24:25 -06:00 |
|
Ryan1729
|
46ef4e8651
|
write currently failing test for transmutes_expressible_as_ptr_casts
There are 5 errors, when there should be 7.
|
2020-08-06 04:24:24 -06:00 |
|
Ryan1729
|
5e84b8c2fb
|
run cargo dev new_lint then move transmutes_expressible_as_ptr_casts into transmute module
|
2020-08-06 04:24:24 -06:00 |
|