about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-12-06 19:43:01 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-12-09 21:55:13 +0000
commit148a77dfde03dba553b2e4f3cf817cd6d105b3e6 (patch)
tree016057d45826592ba0cfefbb119ec8f50183f1ae /compiler/rustc_ast_passes/src
parente0752ad2572218dfc7764951b72d4e3e84ea842c (diff)
downloadrust-148a77dfde03dba553b2e4f3cf817cd6d105b3e6.tar.gz
rust-148a77dfde03dba553b2e4f3cf817cd6d105b3e6.zip
review comments: rewordings
Diffstat (limited to 'compiler/rustc_ast_passes/src')
-rw-r--r--compiler/rustc_ast_passes/src/feature_gate.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_passes/src/feature_gate.rs b/compiler/rustc_ast_passes/src/feature_gate.rs
index 688d4d635cf..aa3b772efb1 100644
--- a/compiler/rustc_ast_passes/src/feature_gate.rs
+++ b/compiler/rustc_ast_passes/src/feature_gate.rs
@@ -557,7 +557,7 @@ pub fn check_crate(krate: &ast::Crate, sess: &Session, features: &Features) {
     gate_all!(explicit_tail_calls, "`become` expression is experimental");
     gate_all!(generic_const_items, "generic const items are experimental");
     gate_all!(guard_patterns, "guard patterns are experimental", "consider using match arm guards");
-    gate_all!(default_field_values, "default values on `struct` fields aren't supported");
+    gate_all!(default_field_values, "default values on fields are experimental");
     gate_all!(fn_delegation, "functions delegation is not yet fully implemented");
     gate_all!(postfix_match, "postfix match is experimental");
     gate_all!(mut_ref, "mutable by-reference bindings are experimental");