]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #96894 - JohnTitor:expect-non-local-track-caller, r=petrochenkov
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Thu, 2 Jun 2022 09:13:21 +0000 (11:13 +0200)
committerGitHub <noreply@github.com>
Thu, 2 Jun 2022 09:13:21 +0000 (11:13 +0200)
commitddc5d2c9d2c0d100707666d5f2168ccc0dab40ed
tree9c98ef8da4bebc5523f390519c4dedb6b4d2af79
parentfb1976011e3df96b5d3eccd6b2f4e51ef7dc8f16
parentc7db4b08fff9591adb2c7a66d5f81ce685655622
Rollup merge of #96894 - JohnTitor:expect-non-local-track-caller, r=petrochenkov

Apply track_caller to closure on `expect_non_local()`

r? `@petrochenkov`

Alternatively we could remove the closure by replicating the same logic of `map_id()`. I'm happy to switch to it if you'd like.