Rust: Remove built-in methods from Addressable in the schema.

This commit is contained in:
Geoffrey White
2025-08-26 18:01:33 +01:00
parent 3cd057fe39
commit c7947a0afa

View File

@@ -82,13 +82,6 @@ class Addressable(AstNode):
TODO: This does not yet include all possible cases.
"""
extended_canonical_path: optional[string] | desc("""
Either a canonical path (see https://doc.rust-lang.org/reference/paths.html#canonical-paths),
or `{<block id>}::name` for addressable items defined in an anonymous block (and only
addressable there-in).
""") | rust.detach | ql.internal
crate_origin: optional[string] | desc(
"One of `rustc:<name>`, `repo:<repository>:<name>` or `lang:<name>`.") | rust.detach | ql.internal
class PathAstNode(AstNode):