mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Use Symbol in Name
This commit is contained in:
parent
843806b79f
commit
3fe815b0f3
75 changed files with 750 additions and 755 deletions
|
@ -862,7 +862,7 @@ impl GeneralConstId {
|
|||
.const_data(const_id)
|
||||
.name
|
||||
.as_ref()
|
||||
.and_then(|it| it.as_str())
|
||||
.map(|it| it.as_str())
|
||||
.unwrap_or("_")
|
||||
.to_owned(),
|
||||
GeneralConstId::ConstBlockId(id) => format!("{{anonymous const {id:?}}}"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue