about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-07-10 16:15:23 +1000
committerZalathar <Zalathar@users.noreply.github.com>2024-07-10 20:25:54 +1000
commit83e1efb254d3de48c4c00eed67698a4d10173407 (patch)
tree337c1e411bb4e0b6302d5b4af5637ec6516210aa /compiler/rustc_interface/src/errors.rs
parent7caf6726dbd951ff9a5c7eca3636cc6f7181d73b (diff)
downloadrust-83e1efb254d3de48c4c00eed67698a4d10173407.tar.gz
rust-83e1efb254d3de48c4c00eed67698a4d10173407.zip
Replace a long inline "autoref" comment with method docs
This comment has two problems:

- It is very long, making the flow of the enclosing method hard to follow.
- It starts by talking about an `autoref` flag that hasn't existed since #59114.

This PR therefore replaces the long inline comment with a revised doc comment
on `bind_matched_candidate_for_guard`, and some shorter inline comments.

For readers who want more historical context, we also link to the PR that added
the old comment, and the PR that removed the `autoref` flag.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions