Autoderef in librustc_plugin
This commit is contained in:
parent
650c082b1e
commit
d12adae719
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ pub fn load_plugins(sess: &Session, cstore: &CStore, krate: &ast::Crate,
|
|||
}
|
||||
|
||||
let args = plugin.meta_item_list().map(ToOwned::to_owned).unwrap_or_default();
|
||||
loader.load_plugin(plugin.span, &*plugin.name(), args);
|
||||
loader.load_plugin(plugin.span, &plugin.name(), args);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue