Skip to content

Commit 6a16a7c

Browse files
committed
Also support macro generated atomic types
This is kind of a hack but it works...
1 parent 911e476 commit 6a16a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tidy/src/features.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ fn map_lib_features(base_src_path: &Path,
351351
}
352352
}
353353
becoming_feature = None;
354-
if line.contains("rustc_const_unstable(") && line.contains("#[") {
354+
if line.contains("rustc_const_unstable(") {
355355
// const fn features are handled specially
356356
let feature_name = match find_attr_val(line, "feature") {
357357
Some(name) => name,

0 commit comments

Comments
 (0)