File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -365,10 +365,6 @@ pub fn is_plain_ident(t: &Token) -> bool {
365
365
match * t { IDENT ( _, false ) => true , _ => false }
366
366
}
367
367
368
- pub fn is_bar ( t : & Token ) -> bool {
369
- match * t { BINOP ( OR ) | OROR => true , _ => false }
370
- }
371
-
372
368
// Get the first "argument"
373
369
macro_rules! first {
374
370
( $first: expr, $( $remainder: expr, ) * ) => ( $first )
@@ -447,7 +443,7 @@ macro_rules! declare_special_idents_and_keywords {(
447
443
} }
448
444
449
445
// If the special idents get renumbered, remember to modify these two as appropriate
450
- static SELF_KEYWORD_NAME : Name = 1 ;
446
+ pub static SELF_KEYWORD_NAME : Name = 1 ;
451
447
static STATIC_KEYWORD_NAME : Name = 2 ;
452
448
453
449
// NB: leaving holes in the ident table is bad! a different ident will get
You can’t perform that action at this time.
0 commit comments