Skip to content

Commit 18b1767

Browse files
authored
Merge pull request #2627 from rust-lang/tshepang/sembr
sembr src/tests/minicore.md and bump freshness
2 parents b72660c + df4d883 commit 18b1767

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
# `minicore` test auxiliary: using `core` stubs
22

3-
<!-- date-check Oct 2024 -->
3+
<!-- date-check: Oct 2025 -->
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)