diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-30 06:32:49 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-30 06:32:49 +0100 |
| commit | b756b7d074976c3644031009e89925963ce6f798 (patch) | |
| tree | e3ada855a4e9c2f002f41e9119042bb6b622f7ca /src/tools | |
| parent | 96261814948099370141413446c3b34a1354548a (diff) | |
tidy: adjust feature gating path
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/tidy/src/features.rs | 2 |
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. |
