Skip to content

Update generated code #298

Update generated code

Update generated code #298

GitHub Actions / clippy succeeded Aug 8, 2025 in 0s

clippy

49 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 49
Note 0
Help 0

Versions

  • rustc 1.91.0-nightly (2fd855fbf 2025-08-07)
  • cargo 1.91.0-nightly (840b83a10 2025-07-30)
  • clippy 0.1.91 (2fd855fbfc 2025-08-07)

Annotations

Check warning on line 322 in elasticsearch/src/xpack.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/xpack.rs:322:18
    |
322 |     pub fn xpack(&self) -> Xpack {
    |                  ^^^^^     ----- the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
322 |     pub fn xpack(&self) -> Xpack<'_> {
    |                                 ++++

Check warning on line 1991 in elasticsearch/src/watcher.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/watcher.rs:1991:20
     |
1991 |     pub fn watcher(&self) -> Watcher {
     |                    ^^^^^     ------- the same lifetime is hidden here
     |                    |
     |                    the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1991 |     pub fn watcher(&self) -> Watcher<'_> {
     |                                     ++++

Check warning on line 2025 in elasticsearch/src/transform.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/transform.rs:2025:22
     |
2025 |     pub fn transform(&self) -> Transform {
     |                      ^^^^^     --------- the same lifetime is hidden here
     |                      |
     |                      the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
2025 |     pub fn transform(&self) -> Transform<'_> {
     |                                         ++++

Check warning on line 1005 in elasticsearch/src/text_structure.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/text_structure.rs:1005:27
     |
1005 |     pub fn text_structure(&self) -> TextStructure {
     |                           ^^^^^     ------------- the same lifetime is hidden here
     |                           |
     |                           the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1005 |     pub fn text_structure(&self) -> TextStructure<'_> {
     |                                                  ++++

Check warning on line 603 in elasticsearch/src/tasks.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/tasks.rs:603:18
    |
603 |     pub fn tasks(&self) -> Tasks {
    |                  ^^^^^     ----- the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
603 |     pub fn tasks(&self) -> Tasks<'_> {
    |                                 ++++

Check warning on line 1036 in elasticsearch/src/synonyms.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/synonyms.rs:1036:21
     |
1036 |     pub fn synonyms(&self) -> Synonyms {
     |                     ^^^^^     -------- the same lifetime is hidden here
     |                     |
     |                     the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1036 |     pub fn synonyms(&self) -> Synonyms<'_> {
     |                                       ++++

Check warning on line 492 in elasticsearch/src/streams.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/streams.rs:492:20
    |
492 |     pub fn streams(&self) -> Streams {
    |                    ^^^^^     ------- the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
492 |     pub fn streams(&self) -> Streams<'_> {
    |                                     ++++

Check warning on line 178 in elasticsearch/src/ssl.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/ssl.rs:178:16
    |
178 |     pub fn ssl(&self) -> Ssl {
    |                ^^^^^     --- the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn ssl(&self) -> Ssl<'_> {
    |                             ++++

Check warning on line 900 in elasticsearch/src/sql.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/sql.rs:900:16
    |
900 |     pub fn sql(&self) -> Sql {
    |                ^^^^^     --- the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
900 |     pub fn sql(&self) -> Sql<'_> {
    |                             ++++

Check warning on line 2471 in elasticsearch/src/snapshot.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/snapshot.rs:2471:21
     |
2471 |     pub fn snapshot(&self) -> Snapshot {
     |                     ^^^^^     -------- the same lifetime is hidden here
     |                     |
     |                     the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
2471 |     pub fn snapshot(&self) -> Snapshot<'_> {
     |                                       ++++

Check warning on line 1440 in elasticsearch/src/slm.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/slm.rs:1440:16
     |
1440 |     pub fn slm(&self) -> Slm {
     |                ^^^^^     --- the same lifetime is hidden here
     |                |
     |                the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1440 |     pub fn slm(&self) -> Slm<'_> {
     |                             ++++

Check warning on line 236 in elasticsearch/src/simulate.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/simulate.rs:236:21
    |
236 |     pub fn simulate(&self) -> Simulate {
    |                     ^^^^^     -------- the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
236 |     pub fn simulate(&self) -> Simulate<'_> {
    |                                       ++++

Check warning on line 508 in elasticsearch/src/shutdown.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/shutdown.rs:508:21
    |
508 |     pub fn shutdown(&self) -> Shutdown {
    |                     ^^^^^     -------- the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
508 |     pub fn shutdown(&self) -> Shutdown<'_> {
    |                                       ++++

Check warning on line 9356 in elasticsearch/src/security.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/security.rs:9356:21
     |
9356 |     pub fn security(&self) -> Security {
     |                     ^^^^^     -------- the same lifetime is hidden here
     |                     |
     |                     the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
9356 |     pub fn security(&self) -> Security<'_> {
     |                                       ++++

Check warning on line 721 in elasticsearch/src/searchable_snapshots.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/searchable_snapshots.rs:721:33
    |
721 |     pub fn searchable_snapshots(&self) -> SearchableSnapshots {
    |                                 ^^^^^     ------------------- the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
721 |     pub fn searchable_snapshots(&self) -> SearchableSnapshots<'_> {
    |                                                              ++++

Check warning on line 1583 in elasticsearch/src/search_application.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/search_application.rs:1583:31
     |
1583 |     pub fn search_application(&self) -> SearchApplication {
     |                               ^^^^^     ----------------- the same lifetime is hidden here
     |                               |
     |                               the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1583 |     pub fn search_application(&self) -> SearchApplication<'_> {
     |                                                          ++++

Check warning on line 1259 in elasticsearch/src/rollup.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/rollup.rs:1259:19
     |
1259 |     pub fn rollup(&self) -> Rollup {
     |                   ^^^^^     ------ the same lifetime is hidden here
     |                   |
     |                   the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1259 |     pub fn rollup(&self) -> Rollup<'_> {
     |                                   ++++

Check warning on line 1169 in elasticsearch/src/query_rules.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/query_rules.rs:1169:24
     |
1169 |     pub fn query_rules(&self) -> QueryRules {
     |                        ^^^^^     ---------- the same lifetime is hidden here
     |                        |
     |                        the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1169 |     pub fn query_rules(&self) -> QueryRules<'_> {
     |                                            ++++

Check warning on line 618 in elasticsearch/src/profiling.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/profiling.rs:618:22
    |
618 |     pub fn profiling(&self) -> Profiling {
    |                      ^^^^^     --------- the same lifetime is hidden here
    |                      |
    |                      the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
618 |     pub fn profiling(&self) -> Profiling<'_> {
    |                                         ++++

Check warning on line 1324 in elasticsearch/src/nodes.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/nodes.rs:1324:18
     |
1324 |     pub fn nodes(&self) -> Nodes {
     |                  ^^^^^     ----- the same lifetime is hidden here
     |                  |
     |                  the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1324 |     pub fn nodes(&self) -> Nodes<'_> {
     |                                 ++++

Check warning on line 242 in elasticsearch/src/monitoring.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/monitoring.rs:242:23
    |
242 |     pub fn monitoring(&self) -> Monitoring {
    |                       ^^^^^     ---------- the same lifetime is hidden here
    |                       |
    |                       the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
242 |     pub fn monitoring(&self) -> Monitoring<'_> {
    |                                           ++++

Check warning on line 11971 in elasticsearch/src/ml.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
     --> elasticsearch/src/ml.rs:11971:15
      |
11971 |     pub fn ml(&self) -> Ml {
      |               ^^^^^     -- the same lifetime is hidden here
      |               |
      |               the lifetime is elided here
      |
      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
      |
11971 |     pub fn ml(&self) -> Ml<'_> {
      |                           ++++

Check warning on line 447 in elasticsearch/src/migration.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/migration.rs:447:22
    |
447 |     pub fn migration(&self) -> Migration {
    |                      ^^^^^     --------- the same lifetime is hidden here
    |                      |
    |                      the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
447 |     pub fn migration(&self) -> Migration<'_> {
    |                                         ++++

Check warning on line 464 in elasticsearch/src/logstash.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
   --> elasticsearch/src/logstash.rs:464:21
    |
464 |     pub fn logstash(&self) -> Logstash {
    |                     ^^^^^     -------- the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
464 |     pub fn logstash(&self) -> Logstash<'_> {
    |                                       ++++

Check warning on line 1075 in elasticsearch/src/license.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

hiding a lifetime that's elided elsewhere is confusing

warning: hiding a lifetime that's elided elsewhere is confusing
    --> elasticsearch/src/license.rs:1075:20
     |
1075 |     pub fn license(&self) -> License {
     |                    ^^^^^     ------- the same lifetime is hidden here
     |                    |
     |                    the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1075 |     pub fn license(&self) -> License<'_> {
     |                                     ++++