Skip to content

Commit

Permalink
Autoderef in librustc_plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-schievink committed Feb 12, 2016
1 parent 650c082 commit d12adae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_plugin/load.rs
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit d12adae

Please sign in to comment.