about summary refs log tree commit diff
path: root/compiler/rustc_incremental/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-18 05:16:29 +0200
committerGitHub <noreply@github.com>2025-04-18 05:16:29 +0200
commit540fb228af41bbc937adc15d98cd72fabaff95c2 (patch)
tree494fc5f17f9fe68015d160e647a7ca7e20033d8d /compiler/rustc_incremental/src/errors.rs
parent5e8bc7f4d35bf71142c2913721143bc3856efecc (diff)
parent846c10fecfdbda6e43073af226486ff7ec3f873d (diff)
downloadrust-540fb228af41bbc937adc15d98cd72fabaff95c2.tar.gz
rust-540fb228af41bbc937adc15d98cd72fabaff95c2.zip
Rollup merge of #139615 - nnethercote:rm-name_or_empty, r=jdonszelmann
Remove `name_or_empty`

Another step towards #137978.

r? ``@jdonszelmann``
Diffstat (limited to 'compiler/rustc_incremental/src/errors.rs')
-rw-r--r--compiler/rustc_incremental/src/errors.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_incremental/src/errors.rs b/compiler/rustc_incremental/src/errors.rs
index b4a207386dc..dbc72d085be 100644
--- a/compiler/rustc_incremental/src/errors.rs
+++ b/compiler/rustc_incremental/src/errors.rs
@@ -107,11 +107,10 @@ pub(crate) struct NotLoaded<'a> {
 }
 
 #[derive(Diagnostic)]
-#[diag(incremental_unknown_item)]
-pub(crate) struct UnknownItem {
+#[diag(incremental_unknown_rustc_clean_argument)]
+pub(crate) struct UnknownRustcCleanArgument {
     #[primary_span]
     pub span: Span,
-    pub name: Symbol,
 }
 
 #[derive(Diagnostic)]