diff options
| author | bors <bors@rust-lang.org> | 2023-11-29 06:23:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-29 06:23:14 +0000 |
| commit | e9b7bf011478aa8c19ac49afc99853a66ba04319 (patch) | |
| tree | d8f752d40a049b70c8d043d4a9d2ffebdba18cbb /compiler/rustc_data_structures/src/graph | |
| parent | f440b5f0ea042cb2087a36631b20878f9847ee28 (diff) | |
| parent | 0687dcb0560ae8b97c6959c28b21adaf12cefe96 (diff) | |
| download | rust-e9b7bf011478aa8c19ac49afc99853a66ba04319.tar.gz rust-e9b7bf011478aa8c19ac49afc99853a66ba04319.zip | |
Auto merge of #118434 - matthiaskrgr:rollup-k1upt8b, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #118342 (Dont suggest `!` for path in function call if it has generic args) - #118383 (Address unused tuple struct fields in the standard library) - #118401 (`rustc_ast_lowering` cleanups) - #118409 (format_foreign.rs: unwrap return Option value for `fn position`, as it always returns Some) - #118413 (Fix the issue of suggesting unwrap/expect for shorthand field) - #118425 (Update cargo) - #118429 (Fix a typo in a `format_args!` note) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_data_structures/src/graph')
| -rw-r--r-- | compiler/rustc_data_structures/src/graph/scc/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/graph/scc/mod.rs b/compiler/rustc_data_structures/src/graph/scc/mod.rs index cf9312ea8fb..b54d75f7ed7 100644 --- a/compiler/rustc_data_structures/src/graph/scc/mod.rs +++ b/compiler/rustc_data_structures/src/graph/scc/mod.rs @@ -492,7 +492,7 @@ where let returned_walk = return_value.take().into_iter().map(|walk| (*successor_node, Some(walk))); - let successor_walk = successors.by_ref().map(|successor_node| { + let successor_walk = successors.map(|successor_node| { debug!(?node, ?successor_node); (successor_node, self.inspect_node(successor_node)) }); |
