Skip to content

Commit e79615d

Browse files
authored
fixups (#2082)
1 parent abd7ea6 commit e79615d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/compiler-debugging.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Here are some notable ones:
276276
| `rustc_dump_item_bounds` | Dumps the [`item_bounds`] of an item. |
277277
| `rustc_dump_predicates` | Dumps the [`predicates_of`] an item. |
278278
| `rustc_dump_vtable` | |
279-
| `rustc_hidden_type_of_opaques` | Dumps the [hidden type of all opaque types][opaq] in the crate. |
279+
| `rustc_hidden_type_of_opaques` | Dumps the [hidden type of each opaque types][opaq] in the crate. |
280280
| `rustc_layout` | [See this section](#debugging-type-layouts). |
281281
| `rustc_object_lifetime_default` | Dumps the [object lifetime defaults] of an item. |
282282
| `rustc_outlives` | Dumps implied bounds of an item. More precisely, the [`inferred_outlives_of`] an item. |

src/tests/ui.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -534,12 +534,12 @@ Currently none of the compare modes are checked in CI for UI tests.
534534
## `rustc_*` TEST attributes
535535

536536
The compiler defines several perma-unstable `#[rustc_*]` attributes gated behind the internal feature
537-
`rustc_attrs` that dump extra compiler-internal information. See the analogous subsection in
537+
`rustc_attrs` that dump extra compiler-internal information. See the corresponding subsection in
538538
[compiler debugging] for more details.
539539

540540
They can be used in tests to more precisely, legibly and easily test internal compiler state in cases
541541
where it would otherwise be very hard to do the same with "user-facing" Rust alone. Indeed, one could
542-
say that this slightly abuses the term "UI" (*user* interfacing) and turns such UI tests from black-box
542+
say that this slightly abuses the term "UI" (*user* interface) and turns such UI tests from black-box
543543
tests into white-box ones. Use them carefully and sparingly.
544544

545-
[compiler debugging]: ../compiler-debugging.md#rustc_-attributes
545+
[compiler debugging]: ../compiler-debugging.md#rustc_test-attributes

0 commit comments

Comments
 (0)