File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 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:
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. |
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.
534534## ` rustc_* ` TEST attributes
535535
536536The 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
540540They can be used in tests to more precisely, legibly and easily test internal compiler state in cases
541541where 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
543543tests 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
You can’t perform that action at this time.
0 commit comments