Skip to content

Commit 699078a

Browse files
alexcrichtonjseyfried
authored andcommitted
Fix a semantic merge conflict
1 parent 71d4a86 commit 699078a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tidy/src/features.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ fn get_and_check_lib_features(base_src_path: &Path,
245245
let mut err = |msg: &str| {
246246
tidy_error!(bad, "{}:{}: {}", file.display(), line, msg);
247247
};
248-
if lang_features.contains_key(name) && feature_name != "proc_macro" {
248+
if lang_features.contains_key(name) && name != "proc_macro" {
249249
err("duplicating a lang feature");
250250
}
251251
if let Some(ref s) = lib_features.get(name) {

0 commit comments

Comments
 (0)