about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-01-26 21:01:13 +0000
committerbors <bors@rust-lang.org>2020-01-26 21:01:13 +0000
commita237641c7df8125b89b8f9c2a3594964ba8188f8 (patch)
tree105db4bbe1eb9f95251c1414f926a3e3f36602cb /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent698fcd38fa9548e64a2092ff48c9d15ceb57d40c (diff)
parent6980f82c0d152446506fee4d4a45d8afdf4ad9a4 (diff)
downloadrust-a237641c7df8125b89b8f9c2a3594964ba8188f8.tar.gz
rust-a237641c7df8125b89b8f9c2a3594964ba8188f8.zip
Auto merge of #68407 - eddyb:iter-macro-backtrace, r=petrochenkov
rustc_span: return an impl Iterator instead of a Vec from macro_backtrace.

Having `Span::macro_backtrace` produce an `impl Iterator<Item = ExpnData>` allows #67359 to use it instead of rolling its own similar functionality.

The move from `MacroBacktrace` to `ExpnData` (which the first two commits are prerequisites for) both eliminates unnecessary allocations, and is strictly more flexible (exposes more information).

r? @petrochenkov
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions