rust/tests
Guillaume Gomez 09575ecde1
Rollup merge of #150385 - fix-expr-can-have-side-effects, r=jdonszelmann,samueltardieu
fix `Expr::can_have_side_effects` for `[x; N]` style array literal and binary expressions

AFAIK `[0; 3]` is basically a syntax sugar for `[0, 0, 0]` so it should return whether the repeat's element can have side effects, like what it does on arrays.
And it seems that the rule for unary operators and indexings can be applied to binary operators as well.
2026-01-09 11:59:58 +01:00
..
assembly-llvm naked functions: emit .private_extern on macos 2026-01-06 16:48:04 +01:00
auxiliary Ensure that static initializers are acyclic for NVPTX 2026-01-06 17:00:21 +01:00
codegen-llvm Rollup merge of #150426 - ZuseZ4:offload-register-lib, r=davidtwco 2026-01-04 21:14:05 +01:00
codegen-units address review comments; fix CI 2026-01-01 19:17:11 -05:00
coverage Create place and value indices on-demand. 2025-12-14 16:33:24 +00:00
coverage-run-rustdoc
crashes Bless other tests 2026-01-07 09:33:40 +08:00
debuginfo tests/debuginfo/macro-stepping.rs: Add revisions default-mir-passes, no-SingleUseConsts-mir-pass 2025-12-23 15:33:56 +01:00
incremental Bless other tests 2026-01-07 09:33:40 +08:00
mir-opt fix rustfmt and bless tidy/tests 2026-01-01 19:17:11 -05:00
pretty Recursive delegation improvements 2025-12-25 14:49:01 +03:00
run-make Thread --jobs from bootstrap -> compiletest -> run-make-support 2026-01-06 14:51:51 +08:00
run-make-cargo tests/run-make-cargo/same-crate-name-and-macro-name: New regression test 2025-12-17 11:21:27 +01:00
rustdoc-gui Fix changes coming from browser-ui-test version update 2026-01-02 20:21:44 +01:00
rustdoc-html render intra-doc links in the #[deprectated] note 2026-01-08 11:35:33 +01:00
rustdoc-js Auto merge of #149370 - Zalathar:rollup-6fkk5x4, r=Zalathar 2025-11-27 07:30:25 +00:00
rustdoc-js-std std: Use more unix.rs code on WASI targets 2025-12-08 06:46:28 -08:00
rustdoc-json Add tests for doc(attribute = "...") attribute 2025-08-28 15:56:30 +02:00
rustdoc-ui render intra-doc links in the #[deprectated] note 2026-01-08 11:35:33 +01:00
ui Rollup merge of #150385 - fix-expr-can-have-side-effects, r=jdonszelmann,samueltardieu 2026-01-09 11:59:58 +01:00
ui-fulldeps lexer/parser: ensure deps use the same unicode version 2025-12-27 11:20:42 +01:00
COMPILER_TESTS.md