Philipp Krones
b5bf09e57a
Merge remote-tracking branch 'upstream/master' into rustup
2025-01-09 18:00:37 +01:00
Ralf Jung
f416f266b0
turn hir::ItemKind::Fn into a named-field variant
2025-01-04 11:35:31 +01:00
Quentin Santos
d67c00f723
Dogfood double_ended_iterator_last
2025-01-01 22:19:16 +01:00
Quentin Santos
0d213aa09a
Revert "Dogfood double_ended_iterator_last"
...
This reverts commit 09c5d34f98 .
2025-01-01 22:16:33 +01:00
Quentin Santos
09c5d34f98
Dogfood double_ended_iterator_last
2025-01-01 19:47:22 +01:00
Philipp Krones
1cc50519d1
Merge commit ' 609cd310be' into clippy-subtree-update
2024-12-26 15:15:54 +01:00
Philipp Krones
14af404672
Merge remote-tracking branch 'upstream/master' into rustup
2024-12-26 14:46:57 +01:00
Nicholas Nethercote
1cb4dcafd1
Rename RefTokenTreeCursor.
...
Because `TokenStreamIter` is a much better name for a `TokenStream`
iterator. Also rename the `TokenStream::trees` method as
`TokenStream::iter`, and some local variables.
2024-12-18 10:39:07 +11:00
Philipp Krones
f8da18cdef
Do not mark attributes with unknown namespace as useless ( #13766 )
...
Fixes #13764
changelog: [`useless_attribute`]: do not trigger on attributes with
unknown namespace
2024-12-17 21:37:10 +00:00
Alex Macleod
8da8da8428
Initial impl of repr_packed_without_abi ( #13398 )
...
Fixes #13375
I've added the lint next to the other attribute-related ones. Not sure
if this is the correct place, since while we are looking after the
`packed`-attribute (there is nothing we can do about types defined
elsewhere), we are more concerned about the type's representation set by
the attribute (instead of "duplicate attributes" and such).
The lint simply looks at the attributes themselves without concern for
the item-kind, since items where `repr` is not allowed end up in a
compile-error anyway.
I'm somewhat concerned about the level of noise this lint would cause
if/when it goes into stable, although it does _not_ come up in
`lintcheck`.
```
changelog: [`repr_packed_without_abi`]: Initial implementation
```
2024-12-16 02:17:59 +00:00
Lukas Lueg
7a80f7b790
Initial impl repr_packed_without_abi
...
Fixes #13375
2024-12-15 20:36:47 +01:00
Jonathan Dönszelmann
6dfa37f02a
Add hir::Attribute
2024-12-15 19:18:46 +01:00
Oli Scherer
f332026bc7
Rename value field to expr to simplify later commits' diffs
2024-12-15 18:47:45 +01:00
Philipp Krones
12edfb82e5
Merge remote-tracking branch 'upstream/master' into rustup
2024-12-15 16:48:56 +01:00
Oli Scherer
5082adf9b5
Change AttrArgs::Eq into a struct variant
2024-12-02 10:28:58 +00:00
Samuel Tardieu
092bfefa49
Do not mark attributes with unknown namespace as useless
2024-11-30 22:54:24 +01:00
Samuel Tardieu
736d1145d7
Extract lint namespace and lint name from the meta item
...
Lints with more than two segments are unrecognized, instead of having
the middle segments truncated.
2024-11-30 22:54:24 +01:00
Philipp Krones
d58b911e01
Merge commit ' ff4a26d442' into clippy-subtree-update
2024-11-28 19:38:59 +01:00
Philipp Krones
5c1811ab94
Rename all clippy_config::msrvs -> clippy_utils::msrvs
2024-11-15 19:38:09 +01:00
Philipp Krones
1ceaa90413
Merge commit ' 786fbd6d68' into clippy-subtree-update
2024-11-14 19:35:26 +01:00
Jacherr
89210d7c5a
new lint unnecessary_map_or
2024-11-12 23:00:26 +00:00
Philipp Krones
6ced8c33c0
Merge commit ' f712eb5cdc' into clippy-subtree-update
2024-11-07 22:37:01 +01:00
Philipp Krones
b816d4ee4f
Merge remote-tracking branch 'upstream/master' into rustup
2024-11-07 17:22:32 +01:00
Jonathan Dönszelmann
63d0ba9de9
Move two attribute lints to be early pass (post expansion)
2024-11-04 22:47:22 +01:00
codemountains
2226f16945
Rename NestedMetaItem to MetaItemInner
2024-10-06 23:28:30 +09:00
Philipp Krones
b61fcbee76
Merge commit ' 7901289135' into clippy-subtree-update
2024-09-24 11:58:04 +02:00
Jason Newcomb
173d5a6af0
Merge commit ' 0f8eabd623' into clippyup
2024-08-24 18:33:44 -04:00
Philipp Krones
1ac76a2062
Merge commit ' cb806113e0' into clippy-subtree-update
2024-08-08 19:13:50 +02:00
Philipp Krones
4e6851e50b
Merge commit ' 37f4fbb929' into clippy-subtree-update
2024-07-25 18:29:17 +02:00
Philipp Krones
abdd057163
Merge commit ' 68a799aea9' into clippy-subtree-update
2024-06-27 18:56:04 +02:00
xFrednet
1b4c281fe7
RFC 2383: Stabilize lint_reasons in Clippy 🖇️
2024-06-25 17:50:48 +02:00
Philipp Krones
3bff119f63
Merge commit ' 3e5a02b13b' into clippy-subtree-update
2024-06-13 12:30:48 +02:00
Philipp Krones
f67f72695a
Merge commit ' c9139bd546' into clippy-subtree-update
2024-05-30 10:49:05 +02:00
Philipp Krones
4363278c73
Merge commit ' 2efebd2f0c' into clippy-subtree-update
2024-05-21 10:39:30 -07:00
Philipp Krones
a5aaf33422
Merge commit ' ca3b393750' into clippy-subtree-update
2024-04-18 17:48:52 +02:00
y21
71e02a01a1
use Lrc instead of the aliased type Arc directly
2024-04-05 00:17:27 +02:00
Philipp Krones
0ae4a048c6
Merge commit ' 9725c4a162' into clippy-subtree-update
2024-04-04 19:52:55 +02:00
Philipp Krones
0e62b18435
Merge commit ' 9d6f41691e' into clippy-subtree-update
2024-03-21 22:20:40 +01:00
Guillaume Gomez
0e2897fd4f
Rename hir::StmtKind::Local into hir::StmtKind::Let
2024-03-14 12:42:04 +01:00
Philipp Krones
7e83df4068
Merge commit ' 93f0a9a91f' into clippy-subtree-update
2024-03-07 17:19:29 +01:00