y21
|
0671d78283
|
check for try blocks in LintPass methods
|
2024-02-27 23:49:07 +01:00 |
|
Oli Scherer
|
3d88fae050
|
Update ui test crate
|
2023-08-11 14:02:28 +00:00 |
|
Catherine Flores
|
4d49065a6c
|
Suppress question_mark if question_mark_used is not allowed
|
2023-08-02 14:13:16 -05:00 |
|
y21
|
70610c0018
|
lint in nested bodies if try is in outer body
|
2023-06-28 12:41:18 +02:00 |
|
y21
|
716305d4b6
|
[question_mark ]: don't lint inside of try block
|
2023-06-21 16:39:46 +02:00 |
|
Oli Scherer
|
def1705a27
|
Update to a compiletest-rs version that requires //@ for commands
|
2023-04-20 14:44:03 +00:00 |
|
Elliot Bobrow
|
98250af4a3
|
question_mark don't lint on if let Err with else
|
2022-10-25 21:16:28 -07:00 |
|
kraktus
|
3ca6b9d031
|
Silence [question_mark ] in const context
|
2022-09-16 22:02:09 +02:00 |
|
Lukas Lueg
|
e87a5a1cc5
|
Dont lint on match pattern-binding
Fixes #9347
Technically it is possible to have a blank match-pattern that does
nothing, and we fail to lint. But its easier to be safe than sorry here.
|
2022-08-18 19:30:56 +02:00 |
|
bors
|
d0b8f7508c
|
Simplify if let statements
fixes: #8288
---
changelog: Allowing [`qustion_mark`] lint to check `if let` expressions that immediatly return unwrapped value
|
2022-07-08 16:12:00 +00:00 |
|
dswij
|
01ca66cbd7
|
Fix FP on question_mark if returned object is not local
|
2021-12-06 17:51:00 +08:00 |
|
dswij
|
2fd168285a
|
Update question_mark test to behave better
|
2021-10-26 21:21:46 +08:00 |
|
dswij
|
a91ec59460
|
Update question_mark expected test output
|
2021-10-26 21:21:46 +08:00 |
|
dswij
|
3fc99b6a33
|
Update test for question_mark to cover Result
|
2021-10-19 18:50:49 +08:00 |
|
Hirochika Matsumoto
|
c7445d7f2c
|
Pluralize lint name
|
2020-11-18 01:28:37 +09:00 |
|
Hirochika Matsumoto
|
30632fb8e6
|
Allow this lint on lint tests
|
2020-11-18 01:28:37 +09:00 |
|
Shotaro Yamada
|
f58bb5b234
|
question_mark: don't add as_ref() for a call expression
|
2020-04-17 13:09:02 +09:00 |
|
Shotaro Yamada
|
246709f89e
|
run-rustfix
|
2020-03-04 17:37:01 +09:00 |
|