L4XB
ab80fa7413
fix(rust): extract module-level static and const declarations
...
The Rust extractor gated every non-function item on struct_item,
enum_item and trait_item, so tree-sitter-rust's static_item and
const_item never produced a node: a constant existed in the graph only
through the files that referenced it, never from the Rust that defines
it (0 of 783 names in a jdx/mise snapshot).
Add a branch for both node types: a module-level declaration gets a
node with a file-level contains edge, an associated const inside an
impl is attributed to the impl like a method, and the declared type is
referenced the way a struct field type is.
Fixes #3471
(cherry picked from commit 70ff464064 )
2026-09-10 22:44:38 +01:00
..
2026-06-30 17:23:46 +01:00
2026-06-30 17:23:46 +01:00
2026-06-30 17:23:46 +01:00
2026-05-17 13:12:49 +01:00
2026-05-17 13:12:49 +01:00
2026-04-06 16:06:31 +01:00
2026-06-30 17:23:46 +01:00
2026-07-09 00:32:21 +01:00
2026-05-22 13:22:42 +01:00
2026-06-26 10:23:10 +01:00
2026-05-22 13:28:35 +01:00
2026-06-26 10:23:10 +01:00
2026-05-06 09:41:56 -04:00
2026-05-22 13:28:35 +01:00
2026-05-04 19:08:50 +05:30
2026-04-27 16:41:19 -07:00
2026-04-04 18:52:44 +01:00
2026-08-30 15:14:33 +01:00
2026-05-08 20:31:25 +01:00
2026-04-06 16:06:31 +01:00
2026-08-09 23:19:08 +01:00
2026-08-15 17:17:29 +01:00
2026-06-17 10:46:12 +01:00
2026-04-13 08:39:28 +01:00
2026-04-13 08:39:28 +01:00
2026-04-13 08:39:28 +01:00
2026-04-13 08:39:28 +01:00
2026-07-26 11:08:10 +01:00
2026-07-15 10:58:57 +01:00
2026-05-13 23:39:01 +01:00
2026-05-08 20:31:25 +01:00
2026-07-09 00:32:21 +01:00
2026-05-05 12:22:38 +02:00
2026-08-24 14:06:55 +01:00
2026-05-15 00:07:09 +01:00
2026-05-29 00:05:28 +03:00
2026-06-07 01:20:38 +01:00
2026-07-01 16:36:52 +01:00
2026-07-01 16:36:50 +01:00
2026-05-26 12:27:28 +01:00
2026-06-22 22:57:06 +01:00
2026-05-09 14:44:58 +01:00
2026-05-27 23:55:12 +01:00
2026-05-27 23:55:12 +01:00
2026-05-27 23:55:12 +01:00
2026-05-27 23:55:12 +01:00
2026-07-01 11:58:38 +01:00
2026-07-01 11:58:38 +01:00
2026-05-28 14:46:03 +01:00
2026-07-01 10:47:10 +01:00
2026-07-08 00:42:56 +01:00
2026-07-01 13:45:52 +01:00
2026-05-15 00:07:09 +01:00
2026-07-08 22:49:01 +01:00
2026-05-09 14:44:58 +01:00
2026-08-17 16:05:33 +01:00
2026-05-09 14:44:58 +01:00
2026-05-05 23:56:51 -04:00
2026-07-01 16:36:48 +01:00
2026-05-26 20:16:41 +01:00
2026-04-04 18:52:44 +01:00
2026-06-27 10:19:15 +01:00
2026-05-09 14:44:58 +01:00
2026-07-01 16:36:49 +01:00
2026-07-01 16:36:47 +01:00
2026-06-17 10:46:12 +01:00
2026-04-04 18:52:44 +01:00
2026-05-26 12:27:28 +01:00
2026-07-01 10:47:10 +01:00
2026-08-30 15:14:33 +01:00
2026-09-10 22:44:38 +01:00
2026-07-01 16:36:47 +01:00
2026-05-15 00:07:09 +01:00
2026-05-26 12:27:28 +01:00
2026-06-08 10:35:32 +01:00
2026-05-01 10:15:06 +01:00
2026-07-01 13:45:53 +01:00
2026-07-01 16:36:53 +01:00
2026-06-07 01:20:38 +01:00
2026-04-04 18:56:38 +01:00
2026-05-07 20:07:36 +01:00
2026-06-25 13:00:47 +01:00
2026-06-25 13:00:47 +01:00
2026-04-07 09:56:53 +01:00
2026-05-22 13:28:35 +01:00
2026-06-30 09:46:16 +01:00
2026-05-22 13:28:35 +01:00