rust/tests/ui/traits/inductive-overflow
Esteban Küber 3f2a63a68b Use trait name instead of full constraint in suggestion message
```
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-07 21:29:58 +00:00
..
lifetime.rs oops! new unsoundness 2023-03-05 12:49:01 +03:00
lifetime.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
simultaneous.rs
simultaneous.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
supertrait-auto-trait.rs
supertrait-auto-trait.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
supertrait.rs
supertrait.stderr Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
two-traits.rs
two-traits.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00