bors[bot] e6a1c9ca60
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 <lukastw97@gmail.com>
2021-04-06 16:12:30 +00:00
..
2021-04-04 01:46:45 +02:00
2021-03-02 14:27:29 +02:00
2021-04-06 16:12:30 +00:00
2021-04-05 12:30:20 +00:00
2021-04-05 12:19:25 +00:00
2021-04-03 15:48:35 +01:00
2021-04-04 01:46:45 +02:00
2021-04-06 16:22:26 +03:00
2021-03-24 15:01:37 +08:00
2021-04-06 15:09:38 +00:00
2021-03-21 16:15:41 +01:00