Jake Goulding
b4775435e8
Adjust the output of unnecessary_unwrap and provide a suggestion
2021-09-02 20:52:16 -04:00
Jake Goulding
03d3131cb4
Extend unnecessary_unwrap to look for expect in addition to unwrap
...
Closes #7581
2021-09-02 20:44:39 -04:00
Aaron Hill
4698b366c4
Show macro name in 'this error originates in macro' message
...
When there are multiple macros in use, it can be difficult to tell
which one was responsible for producing an error.
2021-05-12 19:03:06 -04:00
flip1995
027780ca2c
Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup
2020-08-11 17:50:45 +02:00
flip1995
d13d8987b0
Merge commit '43a1777b89cf6791f9e20878b4e5e3ae907867a5' into clippyup
2020-05-11 20:23:47 +02:00
Lzu Tao
c6a4beaf56
Rustup https://github.com/rust-lang/rust/pull/67359
2020-02-07 10:40:09 +07:00
Yuki Okushi
19ce66c1c1
Re-cover use of unnecessary unwraps in macros
2020-02-05 05:38:26 +09:00
Matthias Krüger
187983e991
update test stderr
2020-01-31 20:21:10 +01:00
Philipp Hansch
48bff49484
UI Test Cleanup: Split up checked_unwrap tests
...
This splits up `tests/ui/checked_unwrap.rs` into:
* `tests/ui/checked_unwrap/complex.rs`
* `tests/ui/checked_unwrap/simple.rs`
Based on the naming of the methods in the tests.
cc #2038
2019-07-16 21:23:43 +02:00