rust/tests
bors 255aa22082 Auto merge of #140748 - m-ou-se:super-format-args3, r=jdonszelmann
Allow storing `format_args!()` in variable

Fixes https://github.com/rust-lang/rust/issues/92698

Tracking issue for super let: https://github.com/rust-lang/rust/issues/139076

Tracking issue for format_args: https://github.com/rust-lang/rust/issues/99012

This change allows:

```rust
let name = "world";
let f = format_args!("hello {name}!"); // New: Store format_args!() for later!

println!("{f}");
```

This will need an FCP.

This implementation makes use of `super let`, which is unstable and might not exist in the future in its current form. However, it is entirely reasonable to assume future Rust will always have _a_ way of expressing temporary lifetimes like this, since the (stable) `pin!()` macro needs this too. (This was also the motivation for merging https://github.com/rust-lang/rust/pull/139114.)

(This is a second version of https://github.com/rust-lang/rust/pull/139135)
2025-06-19 19:13:32 +00:00
..
assembly add #[align] attribute 2025-06-18 12:37:08 +02:00
auxiliary aux: add {Meta,Pointee}Sized bounds to minicore 2025-06-16 23:04:33 +00:00
codegen Rollup merge of #142507 - folkertdev:fn-align-align-attribute, r=jdonszelmann 2025-06-18 20:22:49 -04:00
codegen-units tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
coverage coverage: Revert "unused local file IDs" due to empty function names 2025-05-27 23:33:29 +10:00
coverage-run-rustdoc Update coverage-run-rustdoc output 2025-03-28 10:35:53 +01:00
crashes Rollup merge of #140247 - BoxyUwU:iats_no_query_cycles, r=lcnr 2025-06-18 20:22:48 -04:00
debuginfo tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
incremental tests: bless remaining tests 2025-06-16 23:04:35 +00:00
mir-opt Update mir-opt tests. 2025-06-18 10:20:20 +02:00
pretty Rollup merge of #134847 - dtolnay:asymmetrical, r=fmease 2025-06-13 05:16:54 +02:00
run-make Auto merge of #139244 - jieyouxu:exp/auto-cross-run-make, r=Kobzol 2025-06-19 06:27:02 +00:00
rustdoc rustdoc: PointeeSized bounds with extern types 2025-06-16 23:04:36 +00:00
rustdoc-gui rustdoc: make srcIndex no longer a global variable 2025-06-16 20:22:24 -05:00
rustdoc-js yeet CanonicalVarInfo 2025-05-23 12:10:53 +00:00
rustdoc-js-std Consistent trait bounds for ExtractIf Debug impls 2025-05-05 19:46:46 -07:00
rustdoc-json fix clippy 2025-06-17 23:22:51 +02:00
rustdoc-ui rustdoc: {Meta,Pointee,}Sized in non-minicore 2025-06-16 23:04:36 +00:00
ui Auto merge of #140748 - m-ou-se:super-format-args3, r=jdonszelmann 2025-06-19 19:13:32 +00:00
ui-fulldeps Rollup merge of #142377 - Urgau:unremap-rustc-dev, r=jieyouxu 2025-06-18 19:40:32 +02:00
COMPILER_TESTS.md