Recover fn keyword as Fn trait in bounds
This commit is contained in:
@@ -626,7 +626,7 @@ impl<'a> ExtCtxt<'a> {
|
||||
|
||||
// Builds `#[name = val]`.
|
||||
//
|
||||
// Note: `span` is used for both the identifer and the value.
|
||||
// Note: `span` is used for both the identifier and the value.
|
||||
pub fn attr_name_value_str(&self, name: Symbol, val: Symbol, span: Span) -> ast::Attribute {
|
||||
let g = &self.sess.parse_sess.attr_id_generator;
|
||||
attr::mk_attr_name_value_str(g, ast::AttrStyle::Outer, name, val, span)
|
||||
|
||||
Reference in New Issue
Block a user