We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b556e28 commit dd314f6Copy full SHA for dd314f6
src/tools/tidy/src/features.rs
@@ -160,10 +160,10 @@ pub fn check(
160
for &(name, _) in gate_untested.iter() {
161
println!("Expected a gate test for the feature '{name}'.");
162
println!(
163
- "Hint: create a failing test file named 'feature-gate-{}.rs'\
164
- \n in the 'ui' test suite, with its failures due to\
165
- \n missing usage of `#![feature({})]`.",
166
- name, name
+ "Hint: create a failing test file named 'tests/ui/feature-gates/feature-gate-{}.rs',\
+ \n with its failures due to missing usage of `#![feature({})]`.",
+ name.replace("_", "-"),
+ name
167
);
168
169
"Hint: If you already have such a test and don't want to rename it,\
0 commit comments