Closed Aobanana-chan closed 2 weeks ago
rust-analyzer version: v0.3.1940
rustc version: 1.77.1
editor or extension: VSCode
code snippet to reproduce:
use std::ffi::CString; fn main() { let _s = CString::new("test"); }
When I create a new instance of std::ffi::CString, the variable type analysis incorrectly shows "unknown".
This problem is resolved when I revert to version v0.3.1932 of rust-analyzer.
Caused by #17151.
Same issue with me.
rust-analyzer version: v0.3.1940
rustc version: 1.77.1
editor or extension: VSCode
code snippet to reproduce:
When I create a new instance of std::ffi::CString, the variable type analysis incorrectly shows "unknown".
This problem is resolved when I revert to version v0.3.1932 of rust-analyzer.