Skip to content
Permalink
Browse files

tidy: adjust feature gating path

  • Loading branch information
Centril committed Nov 30, 2019
1 parent 9626181 commit b756b7d074976c3644031009e89925963ce6f798
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit b756b7d

Please sign in to comment.
You can’t perform that action at this time.