mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Rename N! to name!
This commit is contained in:
parent
259c42f00e
commit
6911bc89a7
16 changed files with 60 additions and 60 deletions
|
@ -17,7 +17,7 @@ use hir_def::{
|
|||
};
|
||||
use hir_expand::{
|
||||
diagnostics::DiagnosticSink,
|
||||
name::{AsName, N},
|
||||
name::{name, AsName},
|
||||
MacroDefId,
|
||||
};
|
||||
use hir_ty::{
|
||||
|
@ -723,7 +723,7 @@ impl Local {
|
|||
}
|
||||
|
||||
pub fn is_self(self, db: &impl HirDatabase) -> bool {
|
||||
self.name(db) == Some(N![self])
|
||||
self.name(db) == Some(name![self])
|
||||
}
|
||||
|
||||
pub fn is_mut(self, db: &impl HirDatabase) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue