rust/tests
Jacob Pratt 8075b89aa6
Rollup merge of #152508 - arferreira:improve-write-macro-diagnostic, r=Mark-Simulacrum
Improve write! and writeln! error when called without destination

Fixes rust-lang/rust#152493

Adds catch-all arms to `write!` and `writeln!` macros so that calling them without a destination (e.g., `write!("S")` instead of `write!(f, "S")`) gives a clear error instead of the cryptic "unexpected end of macro invocation" pointing at macro internals.

r? @estebank
2026-02-14 23:17:31 -05:00
..
assembly-llvm Rollup merge of #152404 - durin42:llvm-23-instcombine-shrink-constant, r=Mark-Simulacrum 2026-02-14 22:11:54 +01:00
auxiliary UnsafePinned: implement opsem effects of UnsafeUnpin 2026-02-12 09:09:35 +01:00
build-std/configurations Test that -Zbuild-std=core works on a variety of profiles 2026-01-14 20:39:12 -05:00
codegen-llvm Rollup merge of #152404 - durin42:llvm-23-instcombine-shrink-constant, r=Mark-Simulacrum 2026-02-14 22:11:54 +01:00
codegen-units address review comments; fix CI 2026-01-01 19:17:11 -05:00
coverage coverage: Add a test case for a previously-unknown span mismatch 2026-02-03 22:53:38 +11:00
coverage-run-rustdoc
crashes Rollup merge of #152001 - reddevilmidzy:mgca-i, r=BoxyUwU 2026-02-14 18:55:35 +01:00
debuginfo Allow provisional mgca syntax of type const <IDENT> = <EXPR> to be reconized. 2026-02-09 07:59:24 -08:00
incremental Port rustc_clean to attribute parser 2026-02-04 20:58:02 +00:00
mir-opt Auto merge of #150681 - meithecatte:always-discriminate, r=JonathanBrouwer,Nadrieril 2026-02-14 12:53:09 +00:00
pretty Fix pretty print tests with #[prelude_import] 2026-02-12 17:43:58 +00:00
run-make Rollup merge of #152134 - hoodmane:emscripten-crt-static-allow-dylibs, r=petrochenkov 2026-02-09 18:39:39 +01:00
run-make-cargo Update cargo submodule 2026-01-30 19:15:24 -05:00
rustdoc-gui Remove the 4 failing tests from rustdoc-gui 2026-02-06 01:13:41 +01:00
rustdoc-html Rollup merge of #151365 - RalfJung:unsafe-unpin-opsem, r=BoxyUwU 2026-02-14 22:11:53 +01:00
rustdoc-js rustdoc: sort stable items first 2026-02-13 14:44:41 -06:00
rustdoc-js-std rustdoc: sort stable items first 2026-02-13 14:44:41 -06:00
rustdoc-json resolve: Mark items under ambigous imports as exported 2026-01-27 16:24:53 +03:00
rustdoc-ui Allow provisional mgca syntax of type const <IDENT> = <EXPR> to be reconized. 2026-02-09 07:59:24 -08:00
ui Rollup merge of #152508 - arferreira:improve-write-macro-diagnostic, r=Mark-Simulacrum 2026-02-14 23:17:31 -05:00
ui-fulldeps Stabilize assert_matches 2026-02-11 14:13:44 +01:00
COMPILER_TESTS.md