aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/fuzz
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-04-06 17:12:30 +0100
committerGitHub <[email protected]>2021-04-06 17:12:30 +0100
commite6a1c9ca60c19bf3b02b302e21d9f9fd9bd8a466 (patch)
treeadcf85ca11cefefec4473e8cdb0f7069083b03a2 /crates/syntax/fuzz
parent7dd7017547c83bb3d33a785047e6da0a1464c0ad (diff)
parenta43409fa4313938be21c8650eb2f523fefdcb508 (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/fuzz')
0 files changed, 0 insertions, 0 deletions