use rustc_span::symbol::{kw, sym, Symbol};
use rustc_span::Span;
-use log::debug;
use std::ascii;
+use tracing::debug;
pub enum LitError {
NotLiteral,
token::Lit::new(token::Bool, name, None)
}
token::Literal(lit) => lit,
- token::Interpolated(ref nt, _) => {
+ token::Interpolated(ref nt) => {
if let token::NtExpr(expr) | token::NtLiteral(expr) = &**nt {
if let ast::ExprKind::Lit(lit) = &expr.kind {
return Ok(lit.clone());