about summary refs log tree commit diff
path: root/tests/ui/invalid
AgeCommit message (Collapse)AuthorLines
2025-06-27Port `#[rustc_layout_scalar_valid_range_start/end]` to the new attribute ↵Jonathan Brouwer-12/+26
parsing infrastructure Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-06-17make error codes reflect reality betterJana Dönszelmann-15/+9
2025-06-17use consistent attr errors in all attribute parsersJana Dönszelmann-2/+2
2025-06-17fix bugs in inline/force_inline and diagnostics of all attr parsersJana Dönszelmann-5/+32
2025-06-16Make sure to propagate result from visit_expr_fieldsMichael Goulet-1/+20
2025-05-03Implement asymmetrical precedence for closures and jumpsDavid Tolnay-2/+2
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-7/+7
2025-04-03compiletest: Require `//~` annotations even if `error-pattern` is specifiedVadim Petrochenkov-1/+2
2025-02-25Don't require method impls for methods with `Self:Sized` bounds for impls ↵Oli Scherer-7/+4
for unsized types
2025-02-15Move `#![crate_type]` UI tests into attributes directoryLeón Orell Valerian Liehr-15/+0
Gets rid of two top-level UI tests which is always great. Furthermore, move `need-crate-arg-ignore-tidy$x.rs` from `command/` to `invalid-compile-flags/`. `command/` concerns `std::process::Command` tests, not CLI tests.
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-12/+18
``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ```
2025-01-07Update tests.Mara Bos-1/+1
2024-12-27Remove the `-test` suffix from normalize directivesZalathar-2/+2
2024-11-16Fix ICE when passing DefId-creating args to legacy_const_generics.Luca Versari-0/+113
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-5/+5
2024-02-08Continue to borrowck even if there were previous errorsOli Scherer-1/+3
2023-11-24Show number in error message even for one errorNilstrieb-5/+5
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-04Remove support for compiler plugins.Nicholas Nethercote-29/+0
They've been deprecated for four years. This commit includes the following changes. - It eliminates the `rustc_plugin_impl` crate. - It changes the language used for lints in `compiler/rustc_driver_impl/src/lib.rs` and `compiler/rustc_lint/src/context.rs`. External lints are now called "loaded" lints, rather than "plugins" to avoid confusion with the old plugins. This only has a tiny effect on the output of `-W help`. - E0457 and E0498 are no longer used. - E0463 is narrowed, now only relating to unfound crates, not plugins. - The `plugin` feature was moved from "active" to "removed". - It removes the entire plugins chapter from the unstable book. - It removes quite a few tests, mostly all of those in `tests/ui-fulldeps/plugin/`. Closes #29597.
2023-10-20Move `invalid-llvm-passes` test to `invalid-compile-flags` folderMiguel Ojeda-8/+0
Nowadays there is an `invalid-compile-flags` folder, thus move this one there. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-08-05Fix ICE failed to get layout for ReferencesErroryukang-0/+52
2023-05-16Fix dependency tracking for debugger visualizersMichael Woerister-3/+4
2023-05-01fix stderrsGibby Free-3/+3
2023-05-01remove bootstrap from testsGibby Free-3/+0
2023-03-01stabilize debugger visualizer attributeGibby Free-2/+2
2023-01-11Move /src/test to /testsAlbert Larsan-0/+473