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
|
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
|
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 |
|
Shotaro Yamada
|
45f61ead2c
|
Lint if let Some in question_mark lint
|
2020-03-04 17:24:12 +09: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 |
|
Peter Fürstenau
|
6ee0e22204
|
Merge remote-tracking branch 'upstream/master'
|
2018-12-28 20:19:51 +01:00 |
|
flip1995
|
d2dbd0b8a5
|
Update *.stderr files
|
2018-12-28 12:41:12 +01:00 |
|
Peter Fürstenau
|
18584698ee
|
Add failing test
|
2018-12-19 20:50:18 +01:00 |
|
Peter Fürstenau
|
ee0856cbeb
|
Recomend .as_ref()? in certain situations
|
2018-12-18 13:57:38 +01:00 |
|
Shotaro Yamada
|
eba44e1c67
|
question_mark: Suggest Some(opt?) for if-else
|
2018-12-12 18:13:21 +09:00 |
|
Matthias Krüger
|
7bcc2cd9c8
|
update test stderr
|
2018-12-10 08:22:07 +01:00 |
|
Manish Goregaokar
|
e9c025ea70
|
Add license header to Rust files
|
2018-10-06 09:43:08 -07:00 |
|
flip1995
|
e9af09c274
|
Adapt the *.stderr files of the ui-tests to the tool_lints
|
2018-08-29 11:08:29 -07:00 |
|
Guillem Nieto
|
05ed421930
|
Update UI tests
|
2018-01-31 00:10:35 +01:00 |
|