Merge remote-tracking branch 'upstream/master' into rustup
This commit is contained in:
commit
dc0bb69e66
1053 changed files with 12006 additions and 10203 deletions
|
|
@ -153,10 +153,7 @@ fn all_bindings_are_for_conv<'tcx>(
|
|||
let Some(locals) = locals.iter().map(|e| path_to_local(e)).collect::<Option<Vec<_>>>() else {
|
||||
return false;
|
||||
};
|
||||
let local_parents = locals
|
||||
.iter()
|
||||
.map(|l| cx.tcx.parent_hir_node(*l))
|
||||
.collect::<Vec<_>>();
|
||||
let local_parents = locals.iter().map(|l| cx.tcx.parent_hir_node(*l)).collect::<Vec<_>>();
|
||||
|
||||
local_parents
|
||||
.iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue