Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
c83e65c
Merge pull request #2000 from xtqqczze/patch-1
Amanieu Apr 18, 2026
6a6decd
Merge ref 'e22c616e4e87' from rust-lang/rust
invalid-email-address Apr 20, 2026
4b354e6
Merge pull request #2090 from rust-lang/rustc-pull
sayantn Apr 20, 2026
c12ccf3
Merge pull request #2089 from sayantn/amx-more
sayantn Apr 21, 2026
51edbc2
Merge pull request #2078 from heiher/loong-generic-intrinsics
sayantn Apr 23, 2026
b069693
Merge ref '68ffae46b581' from rust-lang/rust
invalid-email-address Apr 26, 2026
cbd211b
Merge pull request #2092 from folkertdev/rcpc3-pub-unsafe
sayantn Apr 29, 2026
6d240c8
Merge ref '045b17737dab' from rust-lang/rust
invalid-email-address May 4, 2026
9715c04
Merge pull request #2102 from rust-lang/rustc-pull
folkertdev May 5, 2026
04c6511
Merge pull request #2094 from heiher/refine
folkertdev May 5, 2026
eec8663
rustc_on_unimplemented: introduce format specifiers as printing optio…
mejrs May 5, 2026
7833833
Merge pull request #2096 from sayantn/fix-fixupimm
Amanieu May 6, 2026
e0061c0
Merge pull request #2101 from sayantn/revert-passes
folkertdev May 6, 2026
ff43942
Auto merge of #149696 - jnodorp:clarify-utf16-errors, r=SimonSapin
bors May 18, 2026
4cc572b
Auto merge of #156228 - Bryanskiy:eff_vis_iter_late, r=petrochenkov
bors May 19, 2026
bd4ff96
Auto merge of #153640 - Zalathar:subchunk, r=wesleywiser
bors May 19, 2026
0fb8669
Auto merge of #156589 - cuviper:revert-dbg-tearing, r=the8472
bors May 19, 2026
068de54
Auto merge of #155307 - Urgau:rustdoc-stabilize-remap-path-prefix, r=…
bors May 21, 2026
c2e9ad7
Auto merge of #152112 - Kobzol:vec-deque-strongly-typed, r=joboet
bors May 22, 2026
366aeb6
Simplify `//@ needs-asm-mnemonic: ret` to just `//@ needs-asm-ret`
Zalathar May 25, 2026
93fc31e
Auto merge of #156900 - folkertdev:stdarch-sync-2026-05-25, r=folkertdev
bors May 25, 2026
aa463af
Rollup merge of #156879 - apiraino:link-coc-rustfmt, r=ytmimi
JonathanBrouwer May 25, 2026
908708f
Rollup merge of #156901 - Zalathar:needs-asm-ret, r=folkertdev
JonathanBrouwer May 25, 2026
c3781af
Auto merge of #156916 - JonathanBrouwer:rollup-CbeVZH2, r=JonathanBro…
bors May 25, 2026
928aae9
Auto merge of #156594 - LimpSquid:stabilize-bool-to-result, r=SimonSapin
bors May 25, 2026
9802416
Auto merge of #156549 - GuillaumeGomez:ci-gcc-core, r=Kobzol
bors May 26, 2026
a56657e
Rollup merge of #156959 - folkertdev:stdarch-sync-2026-05-26, r=folke…
JonathanBrouwer May 26, 2026
cfce9ec
Rollup merge of #156541 - aerooneqq:delegation-no-method-call, r=petr…
JonathanBrouwer May 26, 2026
4156b39
Rollup merge of #156161 - mejrs:this_formatargs, r=oli-obk
JonathanBrouwer May 26, 2026
473d5bc
Rollup merge of #156752 - 42triangles:fix-dyn-trait-descr, r=oli-obk
JonathanBrouwer May 26, 2026
21686d7
Rollup merge of #156761 - kcx1:fix/156730, r=tgross35
JonathanBrouwer May 26, 2026
ece35b8
Rollup merge of #156872 - cjgillot:skip_move_check_fns, r=oli-obk
JonathanBrouwer May 26, 2026
fdd7570
Rollup merge of #156899 - Walnut356:lldb_batchmode, r=jieyouxu
JonathanBrouwer May 26, 2026
cee48ee
Rollup merge of #156927 - zedddie:gsoc-batch-1-meow, r=Kivooeo
JonathanBrouwer May 26, 2026
dbaedc4
Rollup merge of #156947 - ehuss:update-mdbook, r=jieyouxu
JonathanBrouwer May 26, 2026
db90c98
Auto merge of #156967 - JonathanBrouwer:rollup-cDWgT7T, r=JonathanBro…
bors May 26, 2026
84916d0
Auto merge of #156385 - RalfJung:tcp-ports, r=nia-e
bors May 26, 2026
b474491
Auto merge of #155678 - aerooneqq:single-owners-query-exp, r=oli-obk
bors May 27, 2026
66946c1
Auto merge of #157037 - tgross35:update-builtins, r=tgross35
bors May 28, 2026
6971803
Auto merge of #156634 - Paladynee:lib/array-intoiter-spec-clone, r=jo…
bors May 29, 2026
3acad38
Prepare for merging from rust-lang/rust
invalid-email-address May 30, 2026
62deb7c
Merge ref 'c58275e0369d' from rust-lang/rust
invalid-email-address May 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a31c27a887b40df16ab9dfb8c9f7924636092509
c58275e0369d09fc3959b8ba87dcbcbe73797465
7 changes: 4 additions & 3 deletions src/diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -1018,12 +1018,13 @@ pub trait From<T>: Sized {
### Formatting

The string literals are format strings that accept parameters wrapped in braces
but positional and listed parameters and format specifiers are not accepted.
but positional and listed parameters are not accepted.
The following parameter names are valid:
- `Self` and all generic parameters of the trait.
- `This`: the name of the trait the attribute is on, without generics.
- `Trait`: the name of the "sugared" trait.
See `TraitRefPrintSugared`.
- `This:path`: the full path of the trait the attribute is on, with unresolved generics.
- `This:resolved`: the full path of the trait the attribute is on, with resolved generics.
Additionally, this will "sugar" the `Fn(...)` traits.
- `ItemContext`: the kind of `hir::Node` we're in, things like `"an async block"`,
`"a function"`, `"an async function"`, etc.

Expand Down
11 changes: 0 additions & 11 deletions src/tests/compiletest.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,17 +346,6 @@ See also the [codegen tests](#codegen-tests) for a similar set of tests.
If you need to work with `#![no_std]` cross-compiling tests, consult the
[`minicore` test auxiliary](./minicore.md) chapter.

#### Conditional assembly tests based on instruction support

Tests that depend on specific assembly instructions being available can use the
`//@ needs-asm-mnemonic: <MNEMONIC>` directive.
This will skip the test if the target backend does not support the specified instruction mnemonic.

For example, a test that requires the `RET` instruction:
```rust,ignore
//@ needs-asm-mnemonic: RET
```

[`tests/assembly-llvm`]: https://github.com/rust-lang/rust/tree/HEAD/tests/assembly-llvm


Expand Down
7 changes: 4 additions & 3 deletions src/tests/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,10 @@ The following directives will check rustc build settings and target settings:
For tests that cross-compile to explicit targets
via `--target`, use `needs-llvm-components` instead to ensure the appropriate
backend is available.
- `needs-asm-mnemonic: <MNEMONIC>` — ignores if the target backend does not
support the specified assembly mnemonic (e.g., `RET`, `NOP`).
Only supported with the LLVM backend.
- `needs-asm-ret` - ignores if the target does not have a `ret` instruction
in its assembly syntax. Most target architectures have this instruction,
making it handy for portable inline-assembly tests, but some architectures
(e.g. 32-bit ARM) do not have it.
- `needs-profiler-runtime` — ignores the test if the profiler runtime was not
enabled for the target (`build.profiler = true` in `bootstrap.toml`)
- `needs-sanitizer-support` — ignores if the sanitizer support was not enabled
Expand Down
Loading