mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Update syntax tree definition
This commit is contained in:
parent
38e0ae590c
commit
b51f20eaf5
@ -1616,7 +1616,7 @@ pub enum StrStyle {
|
||||
/// A raw string, like `r##"foo"##`.
|
||||
///
|
||||
/// The value is the number of `#` symbols used.
|
||||
Raw(u16),
|
||||
Raw(u8),
|
||||
}
|
||||
|
||||
/// An AST literal.
|
||||
|
@ -60,9 +60,9 @@ pub enum LitKind {
|
||||
Integer,
|
||||
Float,
|
||||
Str,
|
||||
StrRaw(u16), // raw string delimited by `n` hash symbols
|
||||
StrRaw(u8), // raw string delimited by `n` hash symbols
|
||||
ByteStr,
|
||||
ByteStrRaw(u16), // raw byte string delimited by `n` hash symbols
|
||||
ByteStrRaw(u8), // raw byte string delimited by `n` hash symbols
|
||||
Err,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user