rust/tests/rustdoc-ui/synthetic-auto-trait-impls
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
..
const-in-super-trait-and-item-bound.rs rustdoc: add a couple of regression tests 2024-04-02 18:37:01 +02:00
lifetime-generic-user-impl-normalize.rs rustdoc: synthetic auto trait impls: accept unresolved region vars for now 2024-04-02 18:59:17 +02:00
lifetime-generic-user-impl.rs rustdoc: synthetic auto trait impls: accept unresolved region vars for now 2024-04-02 18:59:17 +02:00
projections-in-super-trait-bound-unsatisfied.rs rustdoc: add a couple of regression tests 2024-04-02 18:37:01 +02:00
projections-in-super-trait-bound-unsatisfied.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
unconstrained-param-in-impl-ambiguity.rs rustdoc: add a couple of regression tests 2024-04-02 18:37:01 +02:00
unconstrained-param-in-impl-ambiguity.stderr rustdoc: add a couple of regression tests 2024-04-02 18:37:01 +02:00