about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-20 07:13:41 +0200
committerGitHub <noreply@github.com>2024-07-20 07:13:41 +0200
commitdfee7ed13fc69793d2307fd81d0300705cef0cf5 (patch)
treecf04309f37e4b2a9d7c4d218d881e8a985561c05 /compiler/rustc_interface/src/errors.rs
parentbc86893a1aec4f67012085d95d34bd53eb7f6247 (diff)
parent83e1efb254d3de48c4c00eed67698a4d10173407 (diff)
downloadrust-dfee7ed13fc69793d2307fd81d0300705cef0cf5.tar.gz
rust-dfee7ed13fc69793d2307fd81d0300705cef0cf5.zip
Rollup merge of #127556 - Zalathar:autoref, r=Nadrieril
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 makes it hard to trust that the information in the comment is accurate or relevant, even though much of it still seems to be true.

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