Skip to content

Commit b756b7d

Browse files
committed
tidy: adjust feature gating path
1 parent 9626181 commit b756b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tidy/src/features.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ pub fn collect_lang_features(base_src_path: &Path, bad: &mut bool) -> Features {
231231
}
232232

233233
fn collect_lang_features_in(base: &Path, file: &str, bad: &mut bool) -> Features {
234-
let path = base.join("libsyntax/feature_gate").join(file);
234+
let path = base.join("librustc_feature").join(file);
235235
let contents = t!(fs::read_to_string(&path));
236236

237237
// We allow rustc-internal features to omit a tracking issue.

0 commit comments

Comments
 (0)