rust-analyzer / rowan

Apache License 2.0
704 stars 58 forks source link

NodeCache not exposed #134

Closed withoutboats closed 2 years ago

withoutboats commented 2 years ago

GreenNodeBuilder has a public with_cache constructor, but the NodeCache type is not public and I can't see any way to construct one outside of the library.

bjorn3 commented 2 years ago

Someone probably forgot to add it to https://github.com/rust-analyzer/rowan/blob/4d40c0084d1c0a6a17fe8912681c0113c82ef09a/src/lib.rs#L36 It is exported from the green module, so it seems to be intended to be public.