mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Represent unknown types as {unknown} instead of [unknown]
Since the latter could actually be a real type...
This commit is contained in:
parent
b7fdad8448
commit
affaf7700a
29 changed files with 172 additions and 172 deletions
|
@ -474,7 +474,7 @@ mod tests {
|
|||
);
|
||||
|
||||
let type_name = analysis.type_of(range).unwrap().unwrap();
|
||||
assert_eq!("[unknown]", &type_name);
|
||||
assert_eq!("{unknown}", &type_name);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue