about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-03-20 08:48:38 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-03-21 10:18:34 +1100
commitb7f3b714da1b9f72ae16f37ff6e2def306e85f69 (patch)
tree995096f813e78694b9f9ffbd6c324008e88eeaad /compiler/rustc_parse/src/errors.rs
parentdbed10a6a266b1b99c9f8bdd356b7233f188776c (diff)
downloadrust-b7f3b714da1b9f72ae16f37ff6e2def306e85f69.tar.gz
rust-b7f3b714da1b9f72ae16f37ff6e2def306e85f69.zip
Remove non-useful code path.
It has no effect on anything in the test suite.
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]