Skip to content

fix: clippy enum_variant_names Self hints and rustdoc broken links#70

Merged
poroh merged 1 commit intoNVIDIA:mainfrom
poroh:docs-and-new-clippy
Apr 15, 2026
Merged

fix: clippy enum_variant_names Self hints and rustdoc broken links#70
poroh merged 1 commit intoNVIDIA:mainfrom
poroh:docs-and-new-clippy

Conversation

@poroh
Copy link
Copy Markdown
Contributor

@poroh poroh commented Apr 15, 2026

  • Replace explicit enum/struct self-references with Self in Box<>, addressing clippy::use_self lint (Rust 1.87+):

    • core: FilterExpr variants
    • csdl-compiler: compiler::Error, ValidateError, annotation::Error, generator::rust::Error, Stack, ModDef
  • Fix rustdoc broken intra-doc links in entity_link module by using fully qualified crate::entity_link::EntityLink paths in module-level doc comments (bare names don't resolve from //! docs)

  • Fix stale MetricReportRef references in telemetry_service docs, renamed to MetricReportLink

- Replace explicit enum/struct self-references with `Self` in `Box<>`,
  addressing clippy::use_self lint (Rust 1.87+):
  - core: FilterExpr variants
  - csdl-compiler: compiler::Error, ValidateError, annotation::Error,
    generator::rust::Error, Stack, ModDef

- Fix rustdoc broken intra-doc links in entity_link module by using
  fully qualified `crate::entity_link::EntityLink` paths in module-level
  doc comments (bare names don't resolve from `//!` docs)

- Fix stale `MetricReportRef` references in telemetry_service docs,
  renamed to `MetricReportLink`

Signed-off-by: Dmitry Porokh <dporokh@nvidia.com>
@poroh poroh requested a review from yoks April 15, 2026 19:03
@poroh poroh merged commit 1535d05 into NVIDIA:main Apr 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants