about summary refs log tree commit diff
path: root/tests/ui/builtin-superkinds
AgeCommit message (Collapse)AuthorLines
2024-12-07Mention type parameter in more cases and don't suggest ~const bound already ↵Esteban Küber-4/+4
there
2024-12-07Use trait name instead of full constraint in suggestion messageEsteban Küber-4/+4
``` help: consider restricting type parameter `T` with traits `Copy` and `Trait` | LL | fn duplicate_custom<T: Copy + Trait>(t: S<T>) -> (S<T>, S<T>) { | ++++++++++++++ ``` ``` help: consider restricting type parameter `V` with trait `Copy` | LL | fn index<'a, K, V: std::marker::Copy>(map: &'a HashMap<K, V>, k: K) -> &'a V { | +++++++++++++++++++ ```
2024-12-07reword trait bound suggestion message to include the boundsEsteban Küber-4/+4
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-3/+0
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-13/+13
2024-02-14Continue compilation after check_mod_type_wf errorsOli Scherer-2/+17
2024-02-07Update testsr0cky-3/+3
2024-01-02Adjust compiler tests for unused_tuple_struct_fields -> dead_codeJake Goulding-1/+1
2023-11-24Show number in error message even for one errorNilstrieb-4/+4
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-10-08remove trailing dotsAli MJ Al-Nasrawy-1/+1
2023-10-08always show and explain sub regionAli MJ Al-Nasrawy-1/+4
2023-08-28Revert "Suggest using `Arc` on `!Send`/`!Sync` types"David Tolnay-5/+0
This reverts commit 9de1a472b68ed85f396b2e2cc79c3ef17584d6e1.
2023-08-09Suggest using `Arc` on `!Send`/`!Sync` typesEsteban Kuber-0/+5
2023-01-12Only point at impl self ty in WF if trait predicate shares self tyMichael Goulet-2/+2
2023-01-12Point at impl self type for impl wf obligationsMichael Goulet-12/+12
2023-01-11Move /src/test to /testsAlbert Larsan-0/+322