about summary refs log tree commit diff
path: root/tests/ui/missing-trait-bounds
AgeCommit message (Collapse)AuthorLines
2024-12-07Use trait name instead of full constraint in suggestion messageEsteban Küber-1/+1
``` 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-1/+1
2024-04-21Use fulfillment, not evaluate, during method probeMichael Goulet-2/+0
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-8/+8
2023-11-24Show number in error message even for one errorNilstrieb-3/+3
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-01-13Do not incorrectly suggest restricting implied boundsEsteban Küber-3/+3
When we have already suggested bounds that imply the about to be suggested bound, skip them.
2023-01-13Elaborate unmet obligations in E0599 for more contextEsteban Küber-3/+5
2023-01-11Tweak outputEsteban Küber-10/+6
2023-01-11Move /src/test to /testsAlbert Larsan-0/+208