Fix a semantic merge conflict
This commit is contained in:
parent
71d4a860a1
commit
699078a35b
@ -245,7 +245,7 @@ fn get_and_check_lib_features(base_src_path: &Path,
|
||||
let mut err = |msg: &str| {
|
||||
tidy_error!(bad, "{}:{}: {}", file.display(), line, msg);
|
||||
};
|
||||
if lang_features.contains_key(name) && feature_name != "proc_macro" {
|
||||
if lang_features.contains_key(name) && name != "proc_macro" {
|
||||
err("duplicating a lang feature");
|
||||
}
|
||||
if let Some(ref s) = lib_features.get(name) {
|
||||
|
Loading…
Reference in New Issue
Block a user