File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ Here are some notable ones:
276
276
| ` rustc_dump_item_bounds ` | Dumps the [ ` item_bounds ` ] of an item. |
277
277
| ` rustc_dump_predicates ` | Dumps the [ ` predicates_of ` ] an item. |
278
278
| ` 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. |
280
280
| ` rustc_layout ` | [ See this section] ( #debugging-type-layouts ) . |
281
281
| ` rustc_object_lifetime_default ` | Dumps the [ object lifetime defaults] of an item. |
282
282
| ` rustc_outlives ` | Dumps implied bounds of an item. More precisely, the [ ` inferred_outlives_of ` ] an item. |
Original file line number Diff line number Diff line change @@ -534,12 +534,12 @@ Currently none of the compare modes are checked in CI for UI tests.
534
534
## ` rustc_* ` TEST attributes
535
535
536
536
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
538
538
[ compiler debugging] for more details.
539
539
540
540
They can be used in tests to more precisely, legibly and easily test internal compiler state in cases
541
541
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
543
543
tests into white-box ones. Use them carefully and sparingly.
544
544
545
- [ compiler debugging ] : ../compiler-debugging.md#rustc_ -attributes
545
+ [ compiler debugging ] : ../compiler-debugging.md#rustc_test -attributes
You can’t perform that action at this time.
0 commit comments