about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-21 17:46:49 +0100
committerGitHub <noreply@github.com>2024-03-21 17:46:49 +0100
commit8b132109c4dc5b4d0ec76590d11fc7f934b096ba (patch)
treeee05ed7593b4a24435a74a9f1720062985d884a3 /compiler/rustc_parse/src/errors.rs
parent40c972e3351eba693e99a8a2e34c91b991f9b50b (diff)
parent82a609f9a6922a5adec4d71bff1f948d868d0384 (diff)
downloadrust-8b132109c4dc5b4d0ec76590d11fc7f934b096ba.tar.gz
rust-8b132109c4dc5b4d0ec76590d11fc7f934b096ba.zip
Rollup merge of #122752 - nnethercote:Interpolated-cleanups, r=petrochenkov
Interpolated cleanups

Various cleanups I made while working on attempts to remove `Interpolated`, that are worth merging now. Best reviewed one commit at a time.

r? `@petrochenkov`
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
-rw-r--r--compiler/rustc_parse/src/errors.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_parse/src/errors.rs b/compiler/rustc_parse/src/errors.rs
index 32b56bb7e87..5cad3a568ee 100644
--- a/compiler/rustc_parse/src/errors.rs
+++ b/compiler/rustc_parse/src/errors.rs
@@ -851,13 +851,6 @@ pub(crate) struct StructLiteralNotAllowedHereSugg {
 }
 
 #[derive(Diagnostic)]
-#[diag(parse_invalid_interpolated_expression)]
-pub(crate) struct InvalidInterpolatedExpression {
-    #[primary_span]
-    pub span: Span,
-}
-
-#[derive(Diagnostic)]
 #[diag(parse_invalid_literal_suffix_on_tuple_index)]
 pub(crate) struct InvalidLiteralSuffixOnTupleIndex {
     #[primary_span]