From 6087d89004eda5e1f6406182b9866497ecb22e99 Mon Sep 17 00:00:00 2001 From: Jana Dönszelmann Date: Sun, 24 Aug 2025 13:25:36 +0200 Subject: fixup limit handling code --- compiler/rustc_interface/src/errors.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'compiler/rustc_interface/src/errors.rs') diff --git a/compiler/rustc_interface/src/errors.rs b/compiler/rustc_interface/src/errors.rs index 6b39b4f1891..d1082eaf617 100644 --- a/compiler/rustc_interface/src/errors.rs +++ b/compiler/rustc_interface/src/errors.rs @@ -108,13 +108,3 @@ pub(crate) struct AbiRequiredTargetFeature<'a> { pub feature: &'a str, pub enabled: &'a str, } - -#[derive(Diagnostic)] -#[diag(interface_limit_invalid)] -pub(crate) struct LimitInvalid<'a> { - #[primary_span] - pub span: Span, - #[label] - pub value_span: Span, - pub error_str: &'a str, -} -- cgit 1.4.1-3-g733a5