rust/tests/ui/associated-type-bounds
León Orell Valerian Liehr 55559d93e7
Resolve assoc item bindings by namespace
If a const is expected, resolve a const.
If a type is expected, resolve a type.
Don't try to resolve a type first falling back to consts.
2023-12-07 22:33:56 +01:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
return-type-notation Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
ambiguous-associated-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
ambiguous-associated-type2.rs added links as a note 2023-07-18 09:27:35 -04:00
ambiguous-associated-type2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
assoc-type-bound-through-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-type-eq-with-dyn-atb-fail.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-type-eq-with-dyn-atb-fail.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-item-through-where-clause.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-bounds-on-assoc-in-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bad-bounds-on-assoc-in-trait.stderr Revert "Suggest using `Arc` on `!Send`/`!Sync` types" 2023-08-28 03:16:48 -07:00
bad-universal-in-dyn-in-where-clause.rs Suppress duplicated errors for associated type bounds in object types 2023-02-22 21:52:26 +00:00
bad-universal-in-dyn-in-where-clause.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bad-universal-in-impl-sig.rs Suppress duplicated errors for associated type bounds in object types 2023-02-22 21:52:26 +00:00
bad-universal-in-impl-sig.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
binder-on-bound.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
binder-on-bound.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
bounds-on-assoc-in-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
bounds-on-assoc-in-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-projection-err.gce.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
const-projection-err.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
const-projection-err.stock.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
consts.rs Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
consts.stderr Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
do-not-look-at-parent-item-in-suggestion-for-type-param-of-current-assoc-item.rs Restrict param constraint suggestion 2023-10-26 18:33:03 +00:00
do-not-look-at-parent-item-in-suggestion-for-type-param-of-current-assoc-item.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
duplicate.rs Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
duplicate.stderr Detect object safety errors when assoc type is missing 2023-10-30 22:12:07 +00:00
dyn-impl-trait-type.rs Adjust UI tests for `unit_bindings` 2023-06-12 20:24:48 +08:00
dyn-rpit-and-let.rs Adjust UI tests for `unit_bindings` 2023-06-12 20:24:48 +08:00
elision.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
elision.stderr Tweak wording of type errors involving type params 2023-10-18 23:53:18 +00:00
entails-sized-object-safety.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
enum-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-apit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-aux.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-dyn-apit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-inline.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-where.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fn-wrap-apit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
handle-predicates-that-can-define-assoc-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hrtb.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implied-in-supertrait.rs Make associated type bounds in supertrait position implied 2023-06-27 18:28:07 +00:00
implied-region-constraints.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
implied-region-constraints.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inside-adt.rs Suppress duplicated errors for associated type bounds in object types 2023-02-22 21:52:26 +00:00
inside-adt.stderr pluralize stuff 2023-02-22 21:52:26 +00:00
issue-61752.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-70292.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71443-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71443-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-71443-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-73818.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-79949.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81193.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-83017.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-99828.rs Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
issue-99828.stderr Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
issue-102335-ty.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-102335-ty.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-104916.rs Add regression test for #104916 2023-04-11 00:01:53 +09:00
issue-104916.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
missing-trait-bound-for-assoc-fails.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-trait-bound-for-assoc-fails.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
order-dependent-bounds-issue-54121.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
overlaping-bound-suggestion.rs Add test for #115019 2023-08-21 19:59:27 +00:00
overlaping-bound-suggestion.stderr Sort errors 2023-10-30 22:19:17 +00:00
rpit.rs Adjust UI tests for `unit_bindings` 2023-06-12 20:24:48 +08:00
struct-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-contraining-assoc-type-because-of-assoc-const.fixed Suggest constraining assoc types in more cases 2023-10-17 23:50:13 +00:00
suggest-contraining-assoc-type-because-of-assoc-const.rs Suggest constraining assoc types in more cases 2023-10-17 23:50:13 +00:00
suggest-contraining-assoc-type-because-of-assoc-const.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
suggest-removing-impl.rs suggest removing `impl` in generic trait bound position 2023-08-29 20:27:38 +02:00
suggest-removing-impl.stderr suggest removing `impl` in generic trait bound position 2023-08-29 20:27:38 +02:00
supertrait-defines-ty.rs Do not consider associated type bounds for super_predicates_that_define_assoc_type 2023-05-01 15:45:28 +00:00
supertrait-referencing-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
supertrait-referencing.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
supertrait-where-referencing-self.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
trait-alias-impl-trait.rs Adjust UI tests for `unit_bindings` 2023-06-12 20:24:48 +08:00
trait-params.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
traits-assoc-anonymized.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
traits-assoc-type-macros.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-alias.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
type-alias.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
union-bounds.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00