diff options
| author | bors <bors@rust-lang.org> | 2020-01-26 21:01:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-01-26 21:01:13 +0000 |
| commit | a237641c7df8125b89b8f9c2a3594964ba8188f8 (patch) | |
| tree | 105db4bbe1eb9f95251c1414f926a3e3f36602cb /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 698fcd38fa9548e64a2092ff48c9d15ceb57d40c (diff) | |
| parent | 6980f82c0d152446506fee4d4a45d8afdf4ad9a4 (diff) | |
| download | rust-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
