We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38e0ae5 commit b51f20eCopy full SHA for b51f20e
compiler/rustc_ast/src/ast.rs
@@ -1616,7 +1616,7 @@ pub enum StrStyle {
1616
/// A raw string, like `r##"foo"##`.
1617
///
1618
/// The value is the number of `#` symbols used.
1619
- Raw(u16),
+ Raw(u8),
1620
}
1621
1622
/// An AST literal.
compiler/rustc_ast/src/token.rs
@@ -60,9 +60,9 @@ pub enum LitKind {
60
Integer,
61
Float,
62
Str,
63
- StrRaw(u16), // raw string delimited by `n` hash symbols
+ StrRaw(u8), // raw string delimited by `n` hash symbols
64
ByteStr,
65
- ByteStrRaw(u16), // raw byte string delimited by `n` hash symbols
+ ByteStrRaw(u8), // raw byte string delimited by `n` hash symbols
66
Err,
67
68
0 commit comments