Ralf Jung
|
87b49764bc
|
warn about uninit multi-variant enums
|
2020-07-17 16:39:59 +02:00 |
|
Matthew Jasper
|
1ee5829575
|
Update tests for erasing regions in typeck
|
2020-03-17 09:07:56 +00:00 |
|
varkor
|
24a2929ed1
|
Normalise notes with the/is
|
2020-01-24 16:24:50 +00:00 |
|
varkor
|
e84248921b
|
Add backticks in appropriate places
|
2020-01-12 15:37:50 +00:00 |
|
varkor
|
0810210bcb
|
Diagnostics should start lowercase
|
2020-01-12 15:36:40 +00:00 |
|
Ralf Jung
|
a5be03654c
|
invalid_value lint: fix help text
|
2019-11-07 10:22:50 +01:00 |
|
Ralf Jung
|
7ff57edb93
|
also identiy MaybeUninit::uninit().assume_init() as dangerous
|
2019-11-02 17:52:57 +01:00 |
|
Ralf Jung
|
df4e12d889
|
uninit/zeroed lint: warn against NULL vtables
|
2019-11-02 11:56:06 +01:00 |
|
Ralf Jung
|
3288be515f
|
test in a way that works even with musl
|
2019-08-17 22:11:43 +02:00 |
|
Ralf Jung
|
a9efa738ab
|
invalid_value: also detect transmute-from-0 (seen in the wild)
|
2019-08-17 11:57:01 +02:00 |
|
Ralf Jung
|
0d242b3f90
|
invalid_value: warn for types with custom valid range
|
2019-08-17 11:56:58 +02:00 |
|
Ralf Jung
|
25d8a0a351
|
warn about uninit bools and chars
|
2019-08-17 11:56:57 +02:00 |
|
Ralf Jung
|
0499923b18
|
more informative error message from invalid_value lint
|
2019-08-12 11:23:56 +02:00 |
|
Ralf Jung
|
ca1e94b131
|
warn for more cases
|
2019-08-11 12:04:49 +02:00 |
|
Ralf Jung
|
da6fbb1895
|
add basic lint testing for misuse of mem::zeroed and mem::uninitialized
|
2019-08-11 12:04:49 +02:00 |
|