The proc_macro_raw_ident feature is now at #54723
This commit is contained in:
parent
b871293cfd
commit
3ced475360
1 changed files with 1 additions and 1 deletions
|
|
@ -881,7 +881,7 @@ impl Ident {
|
|||
}
|
||||
|
||||
/// Same as `Ident::new`, but creates a raw identifier (`r#ident`).
|
||||
#[unstable(feature = "proc_macro_raw_ident", issue = "38356")]
|
||||
#[unstable(feature = "proc_macro_raw_ident", issue = "54723")]
|
||||
pub fn new_raw(string: &str, span: Span) -> Ident {
|
||||
if !Ident::is_valid(string) {
|
||||
panic!("`{:?}` is not a valid identifier", string)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue