rust/tests/ui/specialization/defaultimpl
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
..
auxiliary
allowed-cross-crate.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
allowed-cross-crate.stderr
out-of-order.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
out-of-order.stderr
overlap-projection.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
overlap-projection.stderr
projection.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
projection.stderr
specialization-feature-gate-default.rs
specialization-feature-gate-default.stderr
specialization-no-default.rs stabilize `-Znext-solver=coherence` 2024-10-15 13:11:00 +02:00
specialization-no-default.stderr
specialization-trait-item-not-implemented-rpass.rs [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives 2024-02-16 20:02:50 +00:00
specialization-trait-item-not-implemented-rpass.stderr
specialization-trait-item-not-implemented.rs
specialization-trait-item-not-implemented.stderr
specialization-trait-not-implemented.rs Do not assemble candidates for default impls 2024-02-13 19:20:13 +00:00
specialization-trait-not-implemented.stderr Do not assemble candidates for default impls 2024-02-13 19:20:13 +00:00
specialization-wfcheck.rs
specialization-wfcheck.stderr Use trait name instead of full constraint in suggestion message 2024-12-07 21:29:58 +00:00
validation.rs Do not assemble candidates for default impls 2024-02-13 19:20:13 +00:00
validation.stderr Provide structured suggestion for `#![feature(foo)]` 2024-03-18 16:08:58 +00:00