rust/tests/ui/associated-consts
2025-12-12 15:45:37 +00:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
assoc-const-eq-ambiguity.rs Syntactically distinguish anon const const args 2025-12-12 15:45:37 +00:00
assoc-const-eq-ambiguity.stderr Syntactically distinguish anon const const args 2025-12-12 15:45:37 +00:00
assoc-const-eq-bound-var-in-ty-not-wf.rs Syntactically distinguish anon const const args 2025-12-12 15:45:37 +00:00
assoc-const-eq-bound-var-in-ty-not-wf.stderr Syntactically distinguish anon const const args 2025-12-12 15:45:37 +00:00
assoc-const-eq-bound-var-in-ty.rs Syntactically distinguish anon const const args 2025-12-12 15:45:37 +00:00
assoc-const-eq-const_evaluatable_unchecked.rs fix associated_const_equality tests 2025-11-08 13:50:48 -05:00
assoc-const-eq-esc-bound-var-in-ty.rs Syntactically distinguish anon const const args 2025-12-12 15:45:37 +00:00
assoc-const-eq-esc-bound-var-in-ty.stderr Syntactically distinguish anon const const args 2025-12-12 15:45:37 +00:00
assoc-const-eq-missing.rs Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
assoc-const-eq-missing.stderr Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
assoc-const-eq-param-in-ty.rs Syntactically distinguish anon const const args 2025-12-12 15:45:37 +00:00
assoc-const-eq-param-in-ty.stderr Syntactically distinguish anon const const args 2025-12-12 15:45:37 +00:00
assoc-const-eq-supertraits.rs Check type_const type is ConstParamTy_ and that RHS matches it 2025-11-08 23:05:08 -05:00
assoc-const-eq-ty-alias-noninteracting.rs Check type_const type is ConstParamTy_ and that RHS matches it 2025-11-08 23:05:08 -05:00
assoc-const-ty-mismatch.rs Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
assoc-const-ty-mismatch.stderr Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
assoc-const.rs Syntactically distinguish anon const const args 2025-12-12 15:45:37 +00:00
associated-const-ambiguity-report.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-const-ambiguity-report.stderr More sophisticated span trimming 2025-02-21 00:41:17 +00:00
associated-const-array-len.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-const-array-len.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-const-const-eval.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-cross-crate-const-eval.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-cross-crate-defaults.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-cross-crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-dead-code.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-const-dead-code.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-const-generic-obligations.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-const-generic-obligations.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-const-impl-wrong-lifetime.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-const-impl-wrong-lifetime.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
associated-const-impl-wrong-type.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-const-impl-wrong-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-const-in-global-const.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-in-trait.rs fallout :skull_emoji: 2025-02-14 00:37:23 +01:00
associated-const-in-trait.stderr fallout :skull_emoji: 2025-02-14 00:37:23 +01:00
associated-const-inherent-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-marks-live-code.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-match-patterns.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-no-item.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-const-no-item.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-const-outer-ty-refs.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-overwrite-default.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-private-impl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-const-private-impl.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
associated-const-public-impl.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-range-match-patterns.rs Gate 2018 UI tests 2025-11-27 14:13:58 -05:00
associated-const-resolution-order.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-self-type.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-trait-bound.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-type-parameter-arrays-2.rs Bless tests due to extra error reporting due to normalizing types that are not WF 2024-11-27 03:34:58 +00:00
associated-const-type-parameter-arrays-2.stderr Bless tests due to extra error reporting due to normalizing types that are not WF 2024-11-27 03:34:58 +00:00
associated-const-type-parameter-arrays.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
associated-const-type-parameter-arrays.stderr generic_const_exprs: suggest to add the feature, not use it 2023-11-30 20:59:51 +01:00
associated-const-type-parameter-pattern.rs review comments: reword messages and simplify logic 2024-12-04 20:49:05 +00:00
associated-const-type-parameter-pattern.stderr lower bodies' params to thir before the body's value 2025-05-21 09:17:11 -07:00
associated-const-type-parameters.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-type-parameters.stderr bless tests with new lint messages 2025-08-19 21:27:10 +02:00
associated-const-ufcs-infer-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-use-default.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const-use-impl-of-same-trait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
associated-const.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
constant-trait-item-reference-selection-26095.rs Rehome tests/ui/issues/ tests [2/?] 2025-08-02 15:29:16 -04:00
defaults-cyclic-fail.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
defaults-cyclic-fail.stderr Enable ConstPropLint for promoteds 2024-02-17 10:44:46 +05:30
defaults-cyclic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
defaults-not-assumed-fail.rs Use the informative error as the main const eval error message 2025-06-02 15:37:15 +00:00
defaults-not-assumed-fail.stderr Clarify why we are talking about a failed const eval at a random place 2025-06-02 15:37:15 +00:00
defaults-not-assumed-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
double-elided.rs Resolve elided lifetimes in assoc const to static if no other lifetimes are in scope 2024-06-14 11:05:35 -04:00
equality-unused-issue-126729.rs fix associated_const_equality tests 2025-11-08 13:50:48 -05:00
freeze.rs Expose Freeze trait again 2024-02-29 13:55:11 +00:00
infer-placeholder-in-non-suggestable-pos.rs Resolve elided lifetimes in assoc const to static if no other lifetimes are in scope 2024-06-14 11:05:35 -04:00
infer-placeholder-in-non-suggestable-pos.stderr Resolve elided lifetimes in assoc const to static if no other lifetimes are in scope 2024-06-14 11:05:35 -04:00
issue-24949-assoc-const-static-recursion-impl.rs Always evaluate free constants and statics, even if previous errors occurred 2024-02-19 22:11:13 +00:00
issue-24949-assoc-const-static-recursion-impl.stderr Accept trivial consts based on trivial consts 2025-10-27 13:36:57 -04:00
issue-24949-assoc-const-static-recursion-trait-default.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-24949-assoc-const-static-recursion-trait-default.stderr Always evaluate free constants and statics, even if previous errors occurred 2024-02-19 22:11:13 +00:00
issue-24949-assoc-const-static-recursion-trait.rs Always evaluate free constants and statics, even if previous errors occurred 2024-02-19 22:11:13 +00:00
issue-24949-assoc-const-static-recursion-trait.stderr Mention crate being analysized in query description 2025-10-31 21:20:08 +00:00
issue-47814.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-47814.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-58022.rs Avoid a track_errors by bubbling up most errors from check_well_formed 2023-10-20 08:46:27 +00:00
issue-58022.stderr Retire hir::*ItemRef. 2025-07-13 13:50:01 +00:00
issue-63496.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-63496.stderr Retire hir::*ItemRef. 2025-07-13 13:50:01 +00:00
issue-69020-assoc-const-arith-overflow.noopt.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69020-assoc-const-arith-overflow.opt.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69020-assoc-const-arith-overflow.opt_with_overflow_checks.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69020-assoc-const-arith-overflow.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88599-ref-self.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-93775.rs Make sure we don't overrun the stack in canonicalizer 2025-02-21 18:24:05 +00:00
issue-93835.rs Apply Recovery::Forbidden when reparsing pasted macro fragments. 2025-04-04 13:24:26 +11:00
issue-93835.stderr Merge E0412 into E0425 2025-12-02 18:25:13 +00:00
issue-102335-const.rs fix associated_const_equality tests 2025-11-08 13:50:48 -05:00
issue-102335-const.stderr fix associated_const_equality tests 2025-11-08 13:50:48 -05:00
issue-105330.rs Apply nits 2024-05-13 16:55:58 -04:00
issue-105330.stderr On E0277, point at type that doesn't implement bound 2025-08-22 17:55:15 +00:00
issue-110933.rs Syntactically distinguish anon const const args 2025-12-12 15:45:37 +00:00
mismatched_impl_ty_1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mismatched_impl_ty_2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mismatched_impl_ty_3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
projection-unspecified-but-bounded.rs fix associated_const_equality tests 2025-11-08 13:50:48 -05:00
projection-unspecified-but-bounded.stderr fix associated_const_equality tests 2025-11-08 13:50:48 -05:00
shadowed-const.rs Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
shadowed-const.stderr Resolve assoc item bindings by namespace 2023-12-07 22:33:56 +01:00
trait-associated-const-usage-43483.rs Rehome tests/ui/issues/ tests [3/?] 2025-08-04 16:43:53 -04:00
traits-associated-consts-ice-56870.rs Allow function_casts_as_integer in non-related ui tests 2025-11-10 16:38:28 +01:00
wrong-projection-self-ty-invalid-bivariant-arg.rs Relate receiver invariantly in method probe for Mode::Path 2024-09-16 10:55:07 -04:00
wrong-projection-self-ty-invalid-bivariant-arg.stderr Relate receiver invariantly in method probe for Mode::Path 2024-09-16 10:55:07 -04:00
wrong-projection-self-ty-invalid-bivariant-arg2.rs Relate receiver invariantly in method probe for Mode::Path 2024-09-16 10:55:07 -04:00
wrong-projection-self-ty-invalid-bivariant-arg2.stderr fallout :skull_emoji: 2025-02-14 00:37:23 +01:00