rust/tests/ui/rfcs
bors 37b2813a7b Auto merge of #118138 - Nilstrieb:one-previous-error, r=WaffleLapkin
Fixes error count display is different when there's only one error left

Supersedes #114759

### What did I do?

I did the small change in `rustc_errors` by hand. Then I did the other changes in `/compiler` by hand, those were just find replace on `*.rs` in the workspace. The changes in run-make are find replace for `run-make` in the workspace.

All other changes are blessed using `x test TEST --bless`. I blessed the tests that were blessed in #114759.

### how to review this nightmare

ping bors with an `r+`. You should check that my logic is sound and maybe quickly scroll through the diff, but fully verifying it seems fairly hard to impossible. I did my best to do this correctly.

Thank you `@adrianEffe` for bringing this up and your initial implementation.

cc `@flip1995,` you said you want to do a subtree sync asap
cc `@RalfJung` maybe you want to do a quick subtree sync afterwards as well for Miri

r? `@WaffleLapkin`
2023-11-24 21:40:54 +00:00
..
rfc-0107-bind-by-move-pattern-guards
rfc-1014-stdout-existential-crisis
rfc-1445-restrict-constants-in-patterns Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-1623-static
rfc-1717-dllimport Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-1789-as-cell
rfc-1857-stabilize-drop-order
rfc-1937-termination-trait Manual find replace updates 2023-11-24 21:04:51 +01:00
rfc-2005-default-binding-mode Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2008-non-exhaustive Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2027-object-safe-for-dispatch
rfc-2091-track-caller Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2093-infer-outlives Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2126-crate-paths Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2126-extern-absolute-paths Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2151-raw-identifiers
rfc-2175-or-if-while-let
rfc-2294-if-let-guard Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2302-self-struct-ctor
rfc-2306-convert-id
rfc-2361-dbg-macro Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2396-target_feature-11 Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2397-do-not-recommend Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2421-unreserve-pure-offsetof-sizeof-alignof
rfc-2457-non-ascii-idents Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2497-if-let-chains Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2528-type-changing-struct-update Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2565-param-attrs Show number in error message even for one error 2023-11-24 19:15:52 +01:00
rfc-2627-raw-dylib Manual find replace updates 2023-11-24 21:04:51 +01:00
rfc-2632-const-trait-impl Auto merge of #118138 - Nilstrieb:one-previous-error, r=WaffleLapkin 2023-11-24 21:40:54 +00:00
rfc-3348-c-string-literals