("thread_local", Active),
("link_args", Active),
("phase", Active),
- ("macro_registrar", Active),
+ ("plugin_registrar", Active),
("log_syntax", Active),
("trace_macros", Active),
("concat_idents", Active),
("quote", Active),
("linkage", Active),
("struct_inherit", Active),
+ ("overloaded_calls", Active),
("quad_precision_float", Active),
pub default_type_params: Cell<bool>,
pub quad_precision_float: Cell<bool>,
pub issue_5723_bootstrap: Cell<bool>,
+ pub overloaded_calls: Cell<bool>,
}
impl Features {
default_type_params: Cell::new(false),
quad_precision_float: Cell::new(false),
issue_5723_bootstrap: Cell::new(false),
+ overloaded_calls: Cell::new(false),
}
}
}
}
ast::ItemFn(..) => {
- if attr::contains_name(i.attrs.as_slice(), "macro_registrar") {
- self.gate_feature("macro_registrar", i.span,
- "cross-crate macro exports are \
- experimental and possibly buggy");
+ if attr::contains_name(i.attrs.as_slice(), "plugin_registrar") {
+ self.gate_feature("plugin_registrar", i.span,
+ "compiler plugins are experimental and possibly buggy");
}
}
sess.features.default_type_params.set(cx.has_feature("default_type_params"));
sess.features.quad_precision_float.set(cx.has_feature("quad_precision_float"));
sess.features.issue_5723_bootstrap.set(cx.has_feature("issue_5723_bootstrap"));
+ sess.features.overloaded_calls.set(cx.has_feature("overloaded_calls"));
}