We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 911e476 commit 6a16a7cCopy full SHA for 6a16a7c
src/tools/tidy/src/features.rs
@@ -351,7 +351,7 @@ fn map_lib_features(base_src_path: &Path,
351
}
352
353
becoming_feature = None;
354
- if line.contains("rustc_const_unstable(") && line.contains("#[") {
+ if line.contains("rustc_const_unstable(") {
355
// const fn features are handled specially
356
let feature_name = match find_attr_val(line, "feature") {
357
Some(name) => name,
0 commit comments