I am trying to use RA to scan data schema and stuck on
UncertainIntTy type as it doesn't seem to be exposed publicly. Now I have
ra_hir::Ty value, but to get precise integer type, it seems I need to access types in
ra_hir::ty::primitive module. How can I access these types? Or is there other way to extract primitive type information?
@eonil made them public in https://github.com/rust-analyzer/rust-analyzer/pull/2204#