rust/tests/ui/traits/bound
Esteban Küber c73b3d20c6 Unify wording of resolve error
Remove "failed to resolve" and use the same format we use in other resolution errors "cannot find `name`".

```
error[E0433]: cannot find `nonexistent` in `existent`
  --> $DIR/custom_attr_multisegment_error.rs:5:13
   |
LL | #[existent::nonexistent]
   |             ^^^^^^^^^^^ could not find `nonexistent` in `existent`
```
2026-02-17 16:51:44 +00:00
..
auxiliary
assoc-fn-bound-root-obligation.rs Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
assoc-fn-bound-root-obligation.stderr Remove detail from label/note that is already available in other note 2024-10-29 16:26:57 +00:00
basic.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
generic_trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
impl-comparison-duplicates.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
in-arc.rs compiletest: Add a //@ needs-threads directive 2024-03-06 12:35:07 -08:00
multiple.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
not-on-bare-trait-2021.rs Don't assume traits used as type are trait objs 2024-10-11 17:36:04 +02:00
not-on-bare-trait-2021.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
not-on-bare-trait.rs Gate 2015 UI tests 2025-11-27 11:19:00 -05:00
not-on-bare-trait.stderr Gate 2015 UI tests 2025-11-27 11:19:00 -05:00
not-on-struct.rs Gate 2018 UI tests 2025-11-27 14:13:58 -05:00
not-on-struct.stderr Gate 2018 UI tests 2025-11-27 14:13:58 -05:00
on-structs-and-enums-in-fns.rs
on-structs-and-enums-in-fns.stderr Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
on-structs-and-enums-in-impls.rs
on-structs-and-enums-in-impls.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
on-structs-and-enums-locals.rs
on-structs-and-enums-locals.stderr Do not gather local all together at the beginning of typeck 2025-05-05 14:27:09 +00:00
on-structs-and-enums-rpass.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
on-structs-and-enums-static.rs Check statics' type in type_of. 2025-07-25 23:39:26 +00:00
on-structs-and-enums-static.stderr Check statics' type in type_of. 2025-07-25 23:39:26 +00:00
on-structs-and-enums-xc.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
on-structs-and-enums-xc.stderr Add support for trait object types in type_info reflection 2026-01-27 19:49:09 -04:00
on-structs-and-enums-xc1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
on-structs-and-enums-xc1.stderr Add support for trait object types in type_info reflection 2026-01-27 19:49:09 -04:00
on-structs-and-enums.rs
on-structs-and-enums.stderr reword trait bound suggestion message to include the bounds 2024-12-07 21:26:20 +00:00
recursion.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
recursive-trait-bound-on-type-param.rs cleaned up some tests 2026-01-05 15:35:01 +09:00
same-crate-name.rs Add a note when a type implements a trait with the same name as the required one 2025-11-11 17:36:43 +01:00
same-crate-name.stderr Add a note when a type implements a trait with the same name as the required one 2025-11-11 17:36:43 +01:00
sugar.rs
sugar.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-complex-bound-on-method.fixed Suggest bounds in more cases, accounting for type parameters referenced in predicate 2025-08-04 16:12:58 +00:00
suggest-complex-bound-on-method.rs Suggest bounds in more cases, accounting for type parameters referenced in predicate 2025-08-04 16:12:58 +00:00
suggest-complex-bound-on-method.stderr Suggest bounds in more cases, accounting for type parameters referenced in predicate 2025-08-04 16:12:58 +00:00
unknown-assoc-with-const-arg.rs Unify wording of resolve error 2026-02-17 16:51:44 +00:00
unknown-assoc-with-const-arg.stderr Unify wording of resolve error 2026-02-17 16:51:44 +00:00