replace idents with names
This commit is contained in:
parent
c1b8b3c35c
commit
6007797ed6
2 changed files with 15 additions and 8 deletions
|
@ -405,6 +405,11 @@ macro_rules! declare_special_idents_and_keywords {(
|
|||
$( pub static $si_static: Ident = Ident { name: $si_name, ctxt: 0 }; )*
|
||||
}
|
||||
|
||||
pub mod special_names {
|
||||
use ast::Name;
|
||||
$( pub static $si_static: Name = $si_name; )*
|
||||
}
|
||||
|
||||
/**
|
||||
* All the valid words that have meaning in the Rust language.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue