rust/tests
bors 0929a24d72 Auto merge of #6828 - mgacek8:issue_6758_enhance_wrong_self_convention, r=flip1995
wrong_self_convention: fix lint in case of `to_*_mut` method

fixes #6758
changelog: wrong_self_convention: fix lint in case of `to_*_mut` method. When a method starts with `to_` and ends with `_mut`, clippy expects a `&mut self` parameter, otherwise `&self`.

Any feedback is welcome. I was also thinking if shouldn't we treat `to_` the same way as `as_`. Namely to accept `self` taken:  `&self` or `&mut self`.
2021-03-15 22:36:57 +00:00
..
auxiliary
cargo
ui Auto merge of #6828 - mgacek8:issue_6758_enhance_wrong_self_convention, r=flip1995 2021-03-15 22:36:57 +00:00
ui-cargo
ui-internal Move declare_clippy_lint back into clippy_lints 2021-02-23 18:50:30 -05:00
ui-toml Add version = "Two" to rustfmt.toml 2021-03-01 16:17:33 -06:00
compile-test.rs Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup 2021-02-25 11:25:22 +01:00
dogfood.rs Auto merge of #6834 - hyd-dev:clippy-args, r=phansch,flip1995,oli-obk 2021-03-08 13:18:39 +00:00
fmt.rs
integration.rs
lint_message_convention.rs Add version = "Two" to rustfmt.toml 2021-03-01 16:17:33 -06:00
missing-test-files.rs
versioncheck.rs Merge remote-tracking branch 'upstream/master' into rustup 2021-03-11 10:37:58 +01:00