librustc: Add a lint mode for unnecessary copy and remove a bunch of them.
This commit is contained in:
parent
8c082658be
commit
b4e674f6e6
59 changed files with 256 additions and 235 deletions
|
|
@ -327,7 +327,7 @@ pub fn find_and_install_dependencies(ctxt: &Ctx,
|
|||
// :-(
|
||||
debug!("In find_and_install_dependencies...");
|
||||
let my_workspace = copy *workspace;
|
||||
let my_ctxt = copy *ctxt;
|
||||
let my_ctxt = *ctxt;
|
||||
for c.each_view_item() |vi: &ast::view_item| {
|
||||
debug!("A view item!");
|
||||
match vi.node {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue