Skip to content

Commit

Permalink
Also support macro generated atomic types
Browse files Browse the repository at this point in the history
This is kind of a hack but it works...
  • Loading branch information
est31 committed Oct 31, 2017
1 parent 911e476 commit 6a16a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/tidy/src/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ fn map_lib_features(base_src_path: &Path,
}
}
becoming_feature = None;
if line.contains("rustc_const_unstable(") && line.contains("#[") {
if line.contains("rustc_const_unstable(") {
// const fn features are handled specially
let feature_name = match find_attr_val(line, "feature") {
Some(name) => name,
Expand Down

0 comments on commit 6a16a7c

Please sign in to comment.