How to get array element count with Rust-Analyzer?

Hello, I am trying to scan source code structure with Rust Analyzer.
So far it's working well. Now I have a ra_hir::Ty value which contains ra_hir::TypeCtor::Array. And I have no idea where to see to get array element count. Where should I look into?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.