about summary refs log tree commit diff
path: root/clippy_lints/src/trailing_empty_array.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-05-29 04:49:43 +0200
committerGitHub <noreply@github.com>2025-05-29 04:49:43 +0200
commitf7a97cc7b2bd61f5ca389fa0406c36f72664189e (patch)
treef98468402ae415114ed241b34ba28c884ff1d573 /clippy_lints/src/trailing_empty_array.rs
parenteeb4fa406c7a0dee55a57194a66cdb244e1012ae (diff)
parentcb27c8af94509af0a2633df0a033161b78337681 (diff)
Rollup merge of #141675 - nnethercote:ItemKind-field-order, r=fee1-dead
Reorder `ast::ItemKind::{Struct,Enum,Union}` fields.

So they match the order of the parts in the source code, e.g.:
```
struct Foo<T, U> { t: T, u: U }
       <-><----> <------------>
       /   |       \
   ident generics  variant_data
```

r? `@fee1-dead`
Diffstat (limited to 'clippy_lints/src/trailing_empty_array.rs')
0 files changed, 0 insertions, 0 deletions