Skip to content

Commit 0588be0

Browse files
committed
sembr src/tests/minicore.md
1 parent b72660c commit 0588be0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/doc/rustc-dev-guide/src/tests/minicore.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22

33
<!-- date-check Oct 2024 -->
44

5-
[`tests/auxiliary/minicore.rs`][`minicore`] is a test auxiliary for
6-
ui/codegen/assembly test suites. It provides `core` stubs for tests that need to
5+
[`tests/auxiliary/minicore.rs`][`minicore`] is a test auxiliary for ui/codegen/assembly test suites.
6+
It provides `core` stubs for tests that need to
77
build for cross-compiled targets but do not need/want to run.
88

99
<div class="warning">
1010

1111
Please note that [`minicore`] is only intended for `core` items, and explicitly
12-
**not** `std` or `alloc` items because `core` items are applicable to a wider
13-
range of tests.
12+
**not** `std` or `alloc` items because `core` items are applicable to a wider range of tests.
1413

1514
</div>
1615

@@ -41,8 +40,8 @@ by more than one test.
4140

4241
## Staying in sync with `core`
4342

44-
The `minicore` items must be kept up to date with `core`. For consistent
45-
diagnostic output between using `core` and `minicore`, any `diagnostic`
43+
The `minicore` items must be kept up to date with `core`.
44+
For consistent diagnostic output between using `core` and `minicore`, any `diagnostic`
4645
attributes (e.g. `on_unimplemented`) should be replicated exactly in `minicore`.
4746

4847
## Example codegen test that uses `minicore`

0 commit comments

Comments
 (0)