rust/tests
Matthias Krüger 9ff4dab396
Rollup merge of #126588 - linyihai:trim-extra-comma, r=petrochenkov
Added more scenarios where comma to be removed in the function arg

This is an attempt to address the problem methion in https://github.com/rust-lang/rust/issues/106304#issuecomment-1837273666.

Copy the annotation to explain the fix

If the next Error::Extra ("next") doesn't next to current ("current")

```
fn foo(_: (), _: u32) {}
- foo("current", (), 1u32, "next")
+ foo((), 1u32)
```

If the previous error is not a `Error::Extra`, then do not trim the next comma

```
- foo((), "current", 42u32, "next")
+ foo((), 42u32)
```

Frankly, this is a fix from a test case and may not cover all scenarios
2024-10-21 07:01:36 +02:00
..
assembly Auto merge of #131211 - bjorn3:rust_abi_follow_c_rules, r=nikic,jieyouxu 2024-10-19 14:21:46 +00:00
auxiliary
codegen Rollup merge of #131920 - clubby789:108395-test, r=jieyouxu 2024-10-19 22:00:58 +02:00
codegen-units
coverage Dont ICE when computing coverage of synthetic async closure body 2024-10-18 20:14:02 +11:00
coverage-run-rustdoc
crashes Rollup merge of #131964 - matthiaskrgr:crashes2010, r=jieyouxu 2024-10-20 16:54:12 +02:00
debuginfo Rollup merge of #131521 - jdonszelmann:rc, r=joboet 2024-10-15 12:33:36 -04:00
incremental Bless incremental tests. 2024-10-04 23:50:01 +00:00
mir-opt Emit error on skip-filecheck test containing filecheck directives 2024-10-19 13:24:07 +00:00
pretty Add pretty, ui, and feature-gate tests for the enzyme/autodiff frontend 2024-10-11 20:38:43 +02:00
run-make Rollup merge of #131755 - jfrimmel:avr-rjmp-offset-regression-test, r=jieyouxu 2024-10-18 12:00:50 +01:00
rustdoc Auto merge of #131797 - matthiaskrgr:rollup-lzpze2k, r=matthiaskrgr 2024-10-16 20:50:53 +00:00
rustdoc-gui Strengthen some GUI tests 2024-10-09 21:23:20 +02:00
rustdoc-js
rustdoc-js-std Fix rustdoc-js-std path-ordering test due to API removal 2024-10-02 11:15:48 +02:00
rustdoc-json rustdoc-JSON: Rename "object safe" to "dyn compatible" 2024-10-16 23:00:49 +02:00
rustdoc-ui Rollup merge of #131691 - GuillaumeGomez:intra-doc-link-filter-out-2, r=notriddle 2024-10-16 20:15:53 +02:00
ui Rollup merge of #126588 - linyihai:trim-extra-comma, r=petrochenkov 2024-10-21 07:01:36 +02:00
ui-fulldeps update bootstrap configs 2024-10-15 20:30:23 -07:00
COMPILER_TESTS.md