Skip to content

Rust: Make Crate a sub class of Locatable#19028

Merged
hvitved merged 1 commit intogithub:mainfrom
hvitved:rust/crate-locatable
Mar 14, 2025
Merged

Rust: Make Crate a sub class of Locatable#19028
hvitved merged 1 commit intogithub:mainfrom
hvitved:rust/crate-locatable

Conversation

@hvitved
Copy link
Copy Markdown
Contributor

@hvitved hvitved commented Mar 14, 2025

No description provided.

@github-actions github-actions Bot added the Rust Pull requests that update Rust code label Mar 14, 2025
@hvitved hvitved marked this pull request as ready for review March 14, 2025 18:03
@hvitved hvitved requested review from aibaars and Copilot March 14, 2025 18:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Crate class to inherit from Locatable instead of Element in order to align with the design changes for locatable objects.

  • Change the superclass of Crate from Element to Locatable
Files not reviewed (6)
  • rust/ql/.generated.list: Language not supported
  • rust/ql/lib/codeql/rust/elements/Crate.qll: Language not supported
  • rust/ql/lib/codeql/rust/elements/internal/CrateImpl.qll: Language not supported
  • rust/ql/lib/rust.dbscheme: Language not supported
  • rust/ql/test/extractor-tests/crate_graph/crates.expected: Language not supported
  • rust/ql/test/extractor-tests/crate_graph/crates.ql: Language not supported

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

@hvitved hvitved merged commit a56493c into github:main Mar 14, 2025
@hvitved hvitved deleted the rust/crate-locatable branch March 16, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants