Update: rename LitBinary
to LitByteStr
This commit is contained in:
parent
28b1624f4c
commit
136d8abdf6
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ fn lit_to_string(cx: &ExtCtxt, lit: Lit, minus: bool) -> Option<String> {
|
||||||
}
|
}
|
||||||
match lit.node {
|
match lit.node {
|
||||||
LitStr(s, _) => result.push_str(&s),
|
LitStr(s, _) => result.push_str(&s),
|
||||||
LitBinary(..) | LitByte(..) => {
|
LitByteStr(..) | LitByte(..) => {
|
||||||
cx.span_err(lit.span, "cannot splice binary data");
|
cx.span_err(lit.span, "cannot splice binary data");
|
||||||
return None;
|
return None;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue