diff options
| author | Jana Dönszelmann <jana@donsz.nl> | 2025-08-24 13:25:36 +0200 |
|---|---|---|
| committer | Jana Dönszelmann <jana@donsz.nl> | 2025-09-08 15:07:12 -0700 |
| commit | 6087d89004eda5e1f6406182b9866497ecb22e99 (patch) | |
| tree | 6b99769152229cbbf7259514f36d10f7a42a645e /compiler/rustc_expand/src/base.rs | |
| parent | b82171de5fe2a13a12f35ce4368ef34a477f55c4 (diff) | |
| download | rust-6087d89004eda5e1f6406182b9866497ecb22e99.tar.gz rust-6087d89004eda5e1f6406182b9866497ecb22e99.zip | |
fixup limit handling code
Diffstat (limited to 'compiler/rustc_expand/src/base.rs')
| -rw-r--r-- | compiler/rustc_expand/src/base.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/base.rs b/compiler/rustc_expand/src/base.rs index 8ff21509f4a..88f88f30a8c 100644 --- a/compiler/rustc_expand/src/base.rs +++ b/compiler/rustc_expand/src/base.rs @@ -18,13 +18,14 @@ use rustc_feature::Features; use rustc_hir as hir; use rustc_hir::attrs::{AttributeKind, CfgEntry, Deprecation}; use rustc_hir::def::MacroKinds; +use rustc_hir::limit::Limit; use rustc_hir::{Stability, find_attr}; use rustc_lint_defs::RegisteredTools; use rustc_parse::MACRO_ARGUMENTS; use rustc_parse::parser::{ForceCollect, Parser}; +use rustc_session::Session; use rustc_session::config::CollapseMacroDebuginfo; use rustc_session::parse::ParseSess; -use rustc_session::{Limit, Session}; use rustc_span::def_id::{CrateNum, DefId, LocalDefId}; use rustc_span::edition::Edition; use rustc_span::hygiene::{AstPass, ExpnData, ExpnKind, LocalExpnId, MacroKind}; |
