rust/tests/ui-fulldeps
Jacob Pratt 883c8dd52e
Rollup merge of #139760 - petrochenkov:noerrpat2, r=jieyouxu
UI tests: migrate remaining compile time `error-pattern`s to line annotations when possible

There's a number of cases in which `error-pattern` is still necessary even for compile time checking.
- It checks something that compiler writes directly into stderr as text, and not to the structured json output. This includes some stuff reported during compiler panics, and also diagnostics that happen very early, for example when parsing the command line.
- It checks something that exists only in the full rendered diagnostic test, but not in its structured components, for example code fragments or output of `-Ztrack-diagnostics`. (The latter can probably be converted to structured form though.)

This is continuation of https://github.com/rust-lang/rust/pull/139137.
r? `@jieyouxu`
2025-04-13 23:57:41 -04:00
..
auxiliary Extract ui-fulldeps expression parser into module 2024-12-21 18:48:13 -08:00
codegen-backend tests: manually rebless tests/ui-fulldeps/codegen-backend/hotplug.rs 2025-03-04 00:21:02 +08:00
fluent-messages Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
internal-lints Implement lint against using Interner and InferCtxtLike in random compiler crates 2025-03-26 04:39:38 +00:00
lexer Add test to check unicode identifier version 2024-12-09 06:23:59 -08:00
mod_dir_simple [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
session-diagnostic Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
stable-mir import rustc_smir::rustc_internal in run_driver! 2025-04-13 18:09:10 +08:00
try-from-u32 UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
compiler-calls.rs Remove RunCompiler 2025-01-23 09:38:58 +00:00
deriving-global.rs Improve dead code analysis 2024-07-04 22:05:00 +08:00
deriving-hygiene.rs Improve dead code analysis 2024-07-04 22:05:00 +08:00
dropck-tarena-cycle-checked.rs Remove ignore-stage1 that was added when changing error count msg 2024-01-06 12:53:06 +01:00
dropck-tarena-cycle-checked.stderr Remove ignore-stage1 that was added when changing error count msg 2024-01-06 12:53:06 +01:00
dropck-tarena-unsound-drop.rs Remove ignore-stage1 that was added when changing error count msg 2024-01-06 12:53:06 +01:00
dropck-tarena-unsound-drop.stderr Remove ignore-stage1 that was added when changing error count msg 2024-01-06 12:53:06 +01:00
dropck_tarena_sound_drop.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
empty-struct-braces-derive.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
hash-stable-is-unstable.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
hash-stable-is-unstable.stderr Revert "Don't test new error messages with the stage 0 compiler" 2025-03-08 22:45:16 +02:00
lint-pass-macros.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
missing-rustc-driver-error.rs UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
missing-rustc-driver-error.stderr Move hashes from rustc_data_structure to rustc_hashes so they can be shared with rust-analyzer 2025-02-16 16:18:30 -05:00
mod_dir_path_canonicalized.rs Make top-level rustc_parse functions fallible. 2024-06-05 10:38:03 +10:00
obtain-borrowck.rs Move some Map methods onto TyCtxt. 2025-02-17 13:21:02 +11:00
obtain-borrowck.run.stdout Port tests/run-make-fulldeps/obtain-borrowck to ui-fulldeps 2024-06-07 00:41:31 +10:00
pathless-extern-unstable.rs Revert "Don't test new error messages with the stage 0 compiler" 2025-03-08 22:45:16 +02:00
pathless-extern-unstable.stderr Revert "Don't test new error messages with the stage 0 compiler" 2025-03-08 22:45:16 +02:00
pprust-expr-roundtrip.rs Remove fields that are dead since the removal of type ascription syntax 2025-03-24 20:04:23 +01:00
pprust-parenthesis-insertion.rs Rollup merge of #134834 - dtolnay:unnamedcall, r=compiler-errors 2024-12-27 18:43:05 -08:00
regions-mock-tcx.rs Use the rustc_private libc less in tests 2024-04-15 08:54:11 -04:00
run-compiler-twice.rs Allow drivers to supply a list of extra symbols to intern 2025-04-10 13:39:23 +00:00
rustc_encodable_hygiene.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00