about summary refs log tree commit diff
path: root/tests/ui/stdlib-unit-tests
AgeCommit message (Collapse)AuthorLines
2025-08-19bless tests with new lint messagesKarol Zwolak-1/+1
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-2/+3
``` 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; | ```
2024-12-08Adjust `atomic-from-mut-not-available.rs`许杰友 Jieyou Xu (Joe)-3/+53
- Introduce two revisions: one for 32-bit x86 vs one for 64-bit x86_64 and compare & contrast the errors. - Document the test intention and note its limitations.
2024-12-08Move `atomic-from-mut-not-available.rs` to `tests/ui/stdlib-unit-tests/`许杰友 Jieyou Xu (Joe)-0/+7
This test exercises the combined effect of the `cfg(target_has_atomic_equal_alignment = "...")` implementation in the compiler as well as the usage of said `cfg(target_has_atomic_equal_alignment)` in `core`.
2024-04-28Move various stdlib tests to library/std/testsRyan Lowe-312/+0
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-11/+11
2024-02-07Update testsr0cky-1/+13
2024-01-02Adjust compiler tests for unused_tuple_struct_fields -> dead_codeJake Goulding-1/+1
2023-12-10remove redundant importssurechen-3/+1
detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR.
2023-08-28Revert "Suggest using `Arc` on `!Send`/`!Sync` types"David Tolnay-3/+0
This reverts commit 9de1a472b68ed85f396b2e2cc79c3ef17584d6e1.
2023-08-09Suggest using `Arc` on `!Send`/`!Sync` typesEsteban Kuber-0/+3
2023-06-20update failing ui testsIbraheem Ahmed-16/+1
2023-01-19Add `rustc_on_unimplemented` on `Sync` for cell typesNilstrieb-0/+2
Suggest using a lock instead.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+549