Skip to content

Commit

Permalink
tidy: adjust feature gating path
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Nov 30, 2019
1 parent 9626181 commit b756b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/tidy/src/features.rs
Expand Up @@ -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.
Expand Down

0 comments on commit b756b7d

Please sign in to comment.