Use LocalExpnId where possible.
diff --git a/src/utils.rs b/src/utils.rs
index d3c349f..614cda5 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -6,7 +6,7 @@
};
use rustc_ast::ptr;
use rustc_ast_pretty::pprust;
-use rustc_span::{sym, symbol, BytePos, ExpnId, Span, Symbol, SyntaxContext};
+use rustc_span::{sym, symbol, BytePos, LocalExpnId, Span, Symbol, SyntaxContext};
use unicode_width::UnicodeWidthStr;
use crate::comment::{filter_normal_code, CharClasses, FullCodeCharKind, LineClasses};
@@ -675,7 +675,7 @@
impl NodeIdExt for NodeId {
fn root() -> NodeId {
- NodeId::placeholder_from_expn_id(ExpnId::root())
+ NodeId::placeholder_from_expn_id(LocalExpnId::ROOT)
}
}