Alex Macleod
|
1d107ab2be
|
Remove $DIR replacement in test output
|
2024-02-17 12:34:54 +00:00 |
|
Jason Newcomb
|
cdc4c697b5
|
Make expr_use_ctxt always return Some unless the syntax context changes.
|
2023-11-14 23:23:35 -05:00 |
|
Jason Newcomb
|
a68cd88860
|
Lint needless_borrow on most union field accesses
|
2023-11-11 14:50:19 -05:00 |
|
Jason Newcomb
|
79247d95f7
|
Split part of needless_borrow into needless_borrows_for_generic_args
|
2023-09-17 09:48:12 -04:00 |
|
Urgau
|
a86e758228
|
Adjust clippy tests with new rustc help suggestion for lints
|
2023-09-04 14:22:02 +02:00 |
|
Philipp Krones
|
cc61aeea54
|
Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup
|
2023-08-24 21:32:12 +02:00 |
|
Philipp Krones
|
cb3ecf7b79
|
Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup
|
2023-07-02 14:59:02 +02:00 |
|
Philipp Krones
|
d21616737b
|
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
|
2023-01-12 19:48:13 +01:00 |
|
Philipp Krones
|
4ccafea92d
|
Merge commit '4f3ab69ea0a0908260944443c739426cc384ae1a' into clippyup
|
2022-12-29 14:28:34 +01:00 |
|
Philipp Krones
|
d05e2865a0
|
Merge commit 'd822110d3b5625b9dc80ccc442e06fc3cc851d76' into clippyup
|
2022-12-01 18:29:38 +01:00 |
|
Philipp Krones
|
46c5a5d234
|
Merge commit 'f4850f7292efa33759b4f7f9b7621268979e9914' into clippyup
|
2022-11-21 20:51:52 +01:00 |
|
flip1995
|
cd0bb7de01
|
Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyup
|
2022-10-23 15:18:45 +02:00 |
|
Jason Newcomb
|
fb41bfa774
|
Merge commit 'f51aade56f93175dde89177a92e3669ebd8e7592' into clippyup
|
2022-08-31 09:24:45 -04:00 |
|
Philipp Krones
|
67c405cc1d
|
Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup
|
2022-07-28 19:08:22 +02:00 |
|
Philipp Krones
|
09f5df5087
|
Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup
|
2022-06-30 10:50:09 +02:00 |
|
flip1995
|
f8f9d01c2a
|
Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyup
|
2022-06-16 17:39:06 +02:00 |
|
Jason Newcomb
|
9af2be8e96
|
Don't lint needless_borrow in method receiver positions
|
2022-02-17 16:21:53 +01:00 |
|
flip1995
|
bf66aeda0a
|
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
|
2022-01-27 15:12:45 +01:00 |
|
flip1995
|
8fea1d94f3
|
Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup
|
2021-12-06 12:33:31 +01:00 |
|
flip1995
|
23d5457e6d
|
Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup
|
2021-09-28 18:03:12 +01:00 |
|
flip1995
|
6c27482115
|
Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup
|
2021-06-03 08:41:37 +02:00 |
|
flip1995
|
f03edfd7a1
|
Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup
|
2020-12-20 17:19:49 +01:00 |
|
David Tolnay
|
94154cad20
|
Downgrade trivially_copy_pass_by_ref to pedantic
|
2020-04-02 18:56:10 -07:00 |
|
Manish Goregaokar
|
622b167eb8
|
needless_borrow: allow other lints, make fixable
|
2019-09-25 14:45:18 -07: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 |
|
flip1995
|
d2dbd0b8a5
|
Update *.stderr files
|
2018-12-28 12:41:12 +01: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 |
|
Michael Wright
|
2fd671e4bd
|
Move ref cow tests
This commit moves the ref cow tests from needless_borrow.rs to ptr_arg.rs
where all the other PTR_ARG tests are.
|
2018-04-05 18:13:39 +02:00 |
|
bootandy
|
e3c13da830
|
Change recomendation to: &[type] from Cow<type>
|
2018-03-03 12:25:20 -05:00 |
|
bootandy
|
9a002e52e5
|
Lint passing Cow by reference
Add lint for reference to Cow to the same place in the code where
lint for reference to String lives.
https://github.com/rust-lang-nursery/rust-clippy/issues/2405
|
2018-02-28 10:24:10 -05:00 |
|
Oliver Schneider
|
4f21b5b112
|
Update changed ui tests
|
2018-01-17 14:44:40 +01:00 |
|
Oliver Schneider
|
50ffaca4c9
|
Reduce the hackiness of cargo-clippy
|
2017-10-03 12:07:24 +02:00 |
|
topecongiro
|
d8afe2ccbc
|
Update tests
|
2017-09-16 11:27:46 +09:00 |
|
Oliver Schneider
|
c3ef220bba
|
Rebase and update ui test
|
2017-08-21 14:22:41 +02:00 |
|
Oliver Schneider
|
74c776585c
|
Move all our tests back to ui tests
|
2017-08-01 17:54:21 +02:00 |
|
Oliver Schneider
|
4465bc3e3f
|
Make most tests an example so we can run them one by one
|
2017-05-17 14:19:44 +02:00 |
|
Oliver Schneider
|
866239b1a8
|
Add a test showing a false positive on needless_borrow
|
2017-05-05 14:26:14 +02:00 |
|
Oliver Schneider
|
1f2c97a291
|
remove all //~ from tests
|
2017-02-08 14:58:07 +01:00 |
|
Oliver Schneider
|
fd1351f6e3
|
rustup and compile-fail -> ui test move
|
2017-02-07 21:05:30 +01:00 |
|