about summary refs log tree commit diff
path: root/compiler/rustc_expand/messages.ftl
diff options
context:
space:
mode:
authorxizheyin <xizheyin@smail.nju.edu.cn>2025-05-27 17:29:17 +0800
committerxizheyin <xizheyin@smail.nju.edu.cn>2025-06-09 17:10:58 +0800
commitb4ba017c3306bbdb8f3da3dff80e58ff3ed9a1ab (patch)
treeaea83af1eebf091023c1da5cfdc993ad6e2bea1d /compiler/rustc_expand/messages.ftl
parentc2986eed43be1d33b07207dc098b2392eea57d61 (diff)
downloadrust-b4ba017c3306bbdb8f3da3dff80e58ff3ed9a1ab.tar.gz
rust-b4ba017c3306bbdb8f3da3dff80e58ff3ed9a1ab.zip
Note the version and PR of removed features when using it
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Diffstat (limited to 'compiler/rustc_expand/messages.ftl')
-rw-r--r--compiler/rustc_expand/messages.ftl1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_expand/messages.ftl b/compiler/rustc_expand/messages.ftl
index f26c7c1ba0b..08b7a362083 100644
--- a/compiler/rustc_expand/messages.ftl
+++ b/compiler/rustc_expand/messages.ftl
@@ -62,6 +62,7 @@ expand_feature_not_allowed =
 expand_feature_removed =
     feature has been removed
     .label = feature has been removed
+    .note = removed in {$removed_rustc_version} (you are using {$current_rustc_version}){$pull_note}
     .reason = {$reason}
 
 expand_glob_delegation_outside_impls =