diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-06 17:12:30 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-06 17:12:30 +0100 |
commit | e6a1c9ca60c19bf3b02b302e21d9f9fd9bd8a466 (patch) | |
tree | adcf85ca11cefefec4473e8cdb0f7069083b03a2 /crates/syntax/test_data/reparse/fuzz-failures/0002.rs | |
parent | 7dd7017547c83bb3d33a785047e6da0a1464c0ad (diff) | |
parent | a43409fa4313938be21c8650eb2f523fefdcb508 (diff) |
Merge #8371
8371: Don't use HirDisplayWrapper when displaying SourceCode r=matklad a=Veykril
The issue was basically that when displaying for `DisplayTarget::SourceCode` some `hir_fmt` functions would create `HirDisplayWrapper`s which would then `fmt` these triggering the Display panic since `fmt::Display` can't fail the same way as `HirDisplay`. Simple fix is to just use `hir_fmt` directly. Should probably write that down somewhere in source, looking for a good spot to put that right now.
Fixes #8077, Fixes #8370
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/reparse/fuzz-failures/0002.rs')
0 files changed, 0 insertions, 0 deletions