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
ThibsG
83e75f9207
Fix incorrect suggestion for try_err
lint when Err
arg is itself a macro
2020-11-05 18:00:34 +01:00
ThibsG
ce98468158
Fix incorrect suggestion when from expansion in try_err
lint
2020-11-02 18:08:38 +01:00
Tomasz Miąsko
e9677105bf
try_err: Consider Try impl for Poll when generating suggestions
...
There are two different implementation of Try trait for Poll type;
Poll<Result<T, E>> and Poll<Option<Result<T, E>>>. Take them into
account when generating suggestions.
For example, for Err(e)? suggest either return Poll::Ready(Err(e)) or
return Poll::Ready(Some(Err(e))) as appropriate.
2020-08-03 20:48:18 +02:00
Philipp Hansch
52f52900a4
Don't emit try_err lint in external macros
2019-10-24 07:52:01 +02:00
Lzu Tao
0487b58f9a
Fix macro expansion in try_err lint
2019-08-08 20:22:52 +07:00
Joe Frikker
c96bb2c303
Running rustfmt on test
2019-06-30 18:28:12 -04:00
Joe Frikker
8880677b4f
Making try_err machine applicable
2019-06-24 21:28:46 -04:00
Joe Frikker
60a80849ce
Adding try_err lint
2019-06-22 16:37:05 -04:00