about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-11-30 06:32:49 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-11-30 06:32:49 +0100
commitb756b7d074976c3644031009e89925963ce6f798 (patch)
treee3ada855a4e9c2f002f41e9119042bb6b622f7ca /src/tools
parent96261814948099370141413446c3b34a1354548a (diff)
tidy: adjust feature gating path
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tidy/src/features.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tidy/src/features.rs b/src/tools/tidy/src/features.rs
index defe85ef46a..4ea101296b7 100644
--- a/src/tools/tidy/src/features.rs
+++ b/src/tools/tidy/src/features.rs
@@ -231,7 +231,7 @@ pub fn collect_lang_features(base_src_path: &Path, bad: &mut bool) -> Features {
 }
 
 fn collect_lang_features_in(base: &Path, file: &str, bad: &mut bool) -> Features {
-    let path = base.join("libsyntax/feature_gate").join(file);
+    let path = base.join("librustc_feature").join(file);
     let contents = t!(fs::read_to_string(&path));
 
     // We allow rustc-internal features to omit a tracking issue.