rust/src/test/ui/associated-const
Esteban Küber 299bd12fe5 Point at associated types when they have a default type
Associated types with a default type in a trait can't be relied upon to
remain of that default type when in use, so literals of that type can't
be used in the trait's items. Point at the associated type and state
that information.

Reduce verbosity for associated consts of the wrong type.
2020-05-02 18:24:07 -07:00
..
associated-const-ambiguity-report.rs Remove licenses 2018-12-25 21:08:33 -07:00
associated-const-ambiguity-report.stderr Use more targetted span for error label 2020-03-22 16:09:42 -07:00
associated-const-array-len.rs Remove licenses 2018-12-25 21:08:33 -07:00
associated-const-array-len.stderr Use span label instead of note for cause in E0631 2019-08-31 00:14:23 -07:00
associated-const-dead-code.rs Remove redundant descr/descriptive_variant methods from HIR. 2020-04-24 13:44:08 -05:00
associated-const-dead-code.stderr Remove redundant descr/descriptive_variant methods from HIR. 2020-04-24 13:44:08 -05:00
associated-const-generic-obligations.rs Fix #54822 and associated faulty tests 2019-03-10 23:01:30 -04:00
associated-const-generic-obligations.stderr Point at associated types when they have a default type 2020-05-02 18:24:07 -07:00
associated-const-impl-wrong-lifetime.rs Remove licenses 2018-12-25 21:08:33 -07:00
associated-const-impl-wrong-lifetime.stderr Specific labels when referring to "expected" and "found" types 2019-11-18 11:02:22 -08:00
associated-const-impl-wrong-type.rs Remove licenses 2018-12-25 21:08:33 -07:00
associated-const-impl-wrong-type.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
associated-const-in-trait.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
associated-const-in-trait.stderr Change wording for object unsafe because of assoc const 2020-02-03 10:54:16 -08:00
associated-const-no-item.rs Unify output of "variant not found" errors 2020-01-08 08:05:31 -08:00
associated-const-no-item.stderr keep predicate order and tweak output 2020-02-28 11:37:59 -08:00
associated-const-private-impl.rs Remove licenses 2018-12-25 21:08:33 -07:00
associated-const-private-impl.stderr Use more targetted span for error label 2020-03-22 16:09:42 -07:00
associated-const-trait-bound.rs Migrate compile-pass annotations to build-pass 2019-07-03 06:30:28 +09:00
associated-const-type-parameter-arms.rs Remove licenses 2018-12-25 21:08:33 -07:00
associated-const-type-parameter-arms.stderr Remove licenses 2018-12-25 21:08:33 -07:00
associated-const-type-parameter-arrays-2.rs typeck: always expose repeat count AnonConsts' parent in generics_of. 2020-04-14 20:13:20 +03:00
associated-const-type-parameter-arrays-2.stderr typeck: always expose repeat count AnonConsts' parent in generics_of. 2020-04-14 20:13:20 +03:00
associated-const-type-parameter-arrays.rs Remove licenses 2018-12-25 21:08:33 -07:00
associated-const-type-parameter-arrays.stderr Tweak suggest_constraining_type_param 2020-03-29 13:13:17 -07:00
defaults-cyclic-fail.rs improve normalize cycle error 2020-03-24 11:24:24 +01:00
defaults-cyclic-fail.stderr improve normalize cycle error 2020-03-24 11:24:24 +01:00
defaults-cyclic-pass.rs Add regression tests for issues 2020-02-21 19:41:22 +01:00
defaults-not-assumed-fail.rs Fix rebase damage 2020-02-21 19:42:28 +01:00
defaults-not-assumed-fail.stderr Fix rebase damage 2020-02-21 19:42:28 +01:00
defaults-not-assumed-pass.rs Add tests for assoc. const defaults 2020-02-21 19:41:21 +01:00
issue-63496.rs Deduplicate logic 2019-12-10 12:02:18 -08:00
issue-63496.stderr "cannot resolve" → "cannot satisfy" 2020-04-05 10:14:04 -07:00
issue-69020-assoc-const-arith-overflow.noopt.stderr Add comment explaining the reversed operands tests 2020-04-03 08:58:00 +10:00
issue-69020-assoc-const-arith-overflow.opt.stderr Add comment explaining the reversed operands tests 2020-04-03 08:58:00 +10:00
issue-69020-assoc-const-arith-overflow.opt_with_overflow_checks.stderr Add comment explaining the reversed operands tests 2020-04-03 08:58:00 +10:00
issue-69020-assoc-const-arith-overflow.rs Add comment explaining the reversed operands tests 2020-04-03 08:58:00 +10:00