about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.coverage
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-04-16 01:12:38 +0200
committerGitHub <noreply@github.com>2024-04-16 01:12:38 +0200
commit1069ad3982581f47580910f8843a5b1b72e5c4e5 (patch)
tree914e4a844af7836101ce1184d59047eaf4c0d523 /tests/coverage/branch/lazy-boolean.coverage
parent1ad9fea871f78ee0582e57ae253e253a68e3ec49 (diff)
parent2beb6a4782b484c8d5159beb8231a4e883bb1113 (diff)
downloadrust-1069ad3982581f47580910f8843a5b1b72e5c4e5.tar.gz
rust-1069ad3982581f47580910f8843a5b1b72e5c4e5.zip
Rollup merge of #123926 - compiler-errors:no-ann, r=estebank
Fix pretty HIR for anon consts in diagnostics

This removes the `NoAnn` printer which skips over nested bodies altogether, which is confusing, and requires users of `{ty|qpath|pat}_to_string` to pass in `&tcx` which now impleemnts `hir_pretty::PpAnn`.

There's one case where this "regresses" by actually printing out the body of the anon const -- we could suppress that, but I don't expect people to actually get anon consts like that unless they're fuzzing, tbh.

r? estebank
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.coverage')
0 files changed, 0 insertions, 0 deletions