Philipp Krones
415fdb2d1a
Merge remote-tracking branch 'upstream/master' into rustup
2023-07-14 13:36:16 +02:00
Philipp Krones
cb3ecf7b79
Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup
2023-07-02 14:59:02 +02:00
Samuel Moelius
420f3d11e8
"try this" -> "try"
2023-07-01 07:08:01 -04:00
Philipp Krones
8010c3462d
Merge remote-tracking branch 'upstream/master' into rustup
2023-06-30 16:09:06 +02:00
Oli Scherer
5bd97ac17a
Update tests
2023-06-26 14:13:07 +00:00
Oli Scherer
7bd8ab77e5
Make simd_shuffle_indices use valtrees
2023-06-26 09:34:52 +00:00
yukang
23d7a07e86
Do not offer any of the suggestions in emit_coerce_suggestions for expr from destructuring assignment desugaring
2023-06-25 09:26:17 +08:00
Centri3
74a0c9c62f
[needless_lifetimes
]' suggestion now points at the lifetimes
2023-06-13 14:05:22 -05:00
Pavan Kumar Sunkara
bfd5abad4b
Fix all the other tests
2023-06-12 16:21:06 +01:00
bors
21e6235b4c
Auto merge of #10921 - Centri3:needless_if, r=blyxyas,Manishearth
...
Add `needless_if` lint
first off: Sorry about the large diff. Seems a ton of tests do this (understandably so).
this is basically everything I wanted in #10868 , while it doesn't lint *all* unnecessary empty blocks, it lints needless if statements; which are basically the crux of the issue (for me) anyway. I've committed code that includes this far too many times 😅 hopefully clippy can help me out soon
closes #10868
changelog: New lint [`needless_if`]
2023-06-12 04:18:50 +00:00
Centri3
26f50395ba
Add needless_if
lint
2023-06-10 06:51:03 -05:00
Urgau
edb3266b91
Drop uplifted clippy:cmp_nan
2023-06-10 11:13:01 +02:00
y21
bbb9204008
add test
2023-06-09 15:49:35 +02:00
bors
4895a40108
Auto merge of #10705 - Alexendoo:old-test-headers, r=flip1995
...
Add a test that checks for old style test headers
Follow up to #10669 , we're pretty used to them so they're easy to slip through
changelog: none
2023-06-05 08:43:44 +00:00
Philipp Krones
e6dc0efc00
Merge commit '30448e8cf98d4754350db0c959644564f317bc0f' into clippyup
2023-06-02 11:41:57 +02:00
Centri3
7f7979f80b
emit unnecessary_cast
on raw pointers as well
2023-05-24 10:53:31 -05:00
Samuel "Sam" Tardieu
e6646eb5fd
needless_else: new lint to check for empty else clauses
2023-05-22 11:52:26 +02:00
Philipp Krones
7e9abb311d
Merge commit '371120bdbf58a331db5dcfb2d9cddc040f486de8' into clippyup
2023-05-05 17:45:49 +02:00
bors
96f8471d81
Auto merge of #10649 - jsoref:spelling, r=Jarcho
...
Spelling
This PR corrects misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling ).
The misspellings have been reported at https://github.com/jsoref/rust-clippy/actions/runs/4710771873#summary-12776860721
The action reports that the changes in this PR would make it happy: https://github.com/jsoref/rust-clippy/actions/runs/4710771874#summary-12776860722
changelog: none
2023-04-23 22:30:06 +00:00
Josh Soref
d2061faf9e
Spelling
...
* applying
* binding
* complex
* constituent
* demonstrate
* desugaring
* exact
* expression
* for
* functionalities
* github
* implementation
* infers
* multiple conflicting traits
* mutable
* necessarily
* nightly
* nonexistent
* optional
* parameter
* reassignments
* resources
* substitution
* suggestion
* that
* that array is
* using the
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-04-23 10:52:27 -04:00
Alex Macleod
b4067660f6
Add a test that checks for old style test headers
2023-04-23 14:20:55 +00:00
Matthias Krüger
572eecd267
split test into 2
2023-04-23 15:11:31 +02:00
Philipp Krones
a1b75c5108
Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup
2023-04-23 13:28:56 +02:00
Philipp Krones
583c97e9bb
Merge remote-tracking branch 'upstream/master' into rustup
2023-04-23 03:39:03 -07:00
Oli Scherer
def1705a27
Update to a compiletest-rs version that requires //@
for commands
2023-04-20 14:44:03 +00:00
Matthias Krüger
1dfc231b10
clippy: add test for https://github.com/rust-lang/rust-clippy/issues/10645
2023-04-18 18:46:41 +00:00
Esteban Küber
4680aa2fd0
Special-case item attributes in the suggestion output
2023-04-12 22:50:10 +00:00
Esteban Küber
7a0fb902bc
Tweak output for 'add line' suggestion
2023-04-12 22:50:10 +00:00
Jamen Marz
28b80059ed
Add notes to non-structural const in pattern error message
2023-03-27 11:08:11 -04:00
Philipp Krones
8df896c076
Merge commit 'd5e2a7aca55ed49fc943b7a07a8eba05ab5a0079' into clippyup
2023-03-24 14:26:19 +01:00
Philipp Krones
cf8a67d9ad
Merge commit '3c06e0b1ce003912f8fe0536d3a7fe22558e38cf' into clippyup
2023-03-10 10:53:50 +01:00
Alex Macleod
64b54ef950
Fix array-size-threshold config deserialization error
2023-03-02 21:42:11 +01:00
Jason Newcomb
0413fb35ba
Merge commit '149392b0baa4730c68f3c3eadf5c6ed7b16b85a4' into clippyup
2023-02-25 19:28:50 -05:00
Philipp Krones
e7fe1f9c14
Merge commit '0f7558148c22e53cd4608773b56cdfa50dcdeac3' into clippyup
2023-02-10 14:01:19 +01:00
Michael Goulet
2253646395
Don't suggest dyn as parameter to add
2023-01-12 22:04:30 +00:00
Albert Larsan
5f8686ec3b
Change src/test
to tests
in source files, fix tidy and tests
2023-01-11 09:32:13 +00:00
Philipp Krones
4ccafea92d
Merge commit '4f3ab69ea0a0908260944443c739426cc384ae1a' into clippyup
2022-12-29 14:28:34 +01:00
Philipp Krones
46c5a5d234
Merge commit 'f4850f7292efa33759b4f7f9b7621268979e9914' into clippyup
2022-11-21 20:51:52 +01:00
yukang
84c3a959a7
bless clippy
2022-11-09 19:23:23 +08:00
flip1995
cd0bb7de01
Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyup
2022-10-23 15:18:45 +02:00
Ralf Jung
e91746ed82
make const_err a hard error
2022-10-07 18:08:49 +02:00
Philipp Krones
d75b25faab
Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup
2022-10-06 09:44:38 +02:00
Maybe Waffle
8dfbad9e49
bless clippy
2022-10-01 10:03:06 +00:00
Nilstrieb
334f4535bd
Stabilize const BTree{Map,Set}::new
...
Since `len` and `is_empty` are not const stable yet, this also
creates a new feature for them since they previously used the same
`const_btree_new` feature.
2022-09-23 20:55:37 +02:00
David Koloski
4d015293d1
Merge commit '7248d06384c6a90de58c04c1f46be88821278d8b' into sync-from-clippy
2022-09-21 13:13:27 -04:00
Philipp Krones
98bf99e2f8
Merge commit 'b52fb5234cd7c11ecfae51897a6f7fa52e8777fc' into clippyup
2022-09-09 13:36:26 +02:00
Philipp Krones
dc29cfb8d5
Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup
2022-08-11 19:42:16 +02:00
Philipp Krones
67c405cc1d
Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup
2022-07-28 19:08:22 +02:00
Michael Goulet
632f9945d6
Do not resolve associated const when there is no provided value
2022-07-22 18:58:07 +00:00
Philipp Krones
7d4daaa8fa
Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup
2022-07-18 09:39:37 +02:00