Remove unused code from rustc_ast
This commit is contained in:
parent
d7791f485b
commit
49d4a756f1
5 changed files with 0 additions and 64 deletions
|
@ -54,16 +54,6 @@ pub enum DelimToken {
|
|||
NoDelim,
|
||||
}
|
||||
|
||||
impl DelimToken {
|
||||
pub fn len(self) -> usize {
|
||||
if self == NoDelim { 0 } else { 1 }
|
||||
}
|
||||
|
||||
pub fn is_empty(self) -> bool {
|
||||
self == NoDelim
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, PartialEq, Encodable, Decodable, Debug, HashStable_Generic)]
|
||||
pub enum LitKind {
|
||||
Bool, // AST only, must never appear in a `Token`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue