rust/src/test/ui/enum
Bryysen 4ee2fe308b Further improve error message for E0081
Multiple duplicate assignments of the same discriminant are now reported
in the samme error. We now point out the incrementation start point for
discriminants that are not explicitly assigned that are also duplicates.
Removed old test related to E0081 that is now covered by error-codes/E0081.rs.
Also refactored parts of the `check_enum` function.
2022-08-07 17:43:52 +02:00
..
enum-and-module-in-same-scope.rs Remove licenses 2018-12-25 21:08:33 -07:00
enum-and-module-in-same-scope.stderr Update tests 2019-03-11 23:10:26 +03:00
enum-discrim-autosizing.rs Further improve error message for E0081 2022-08-07 17:43:52 +02:00
enum-discrim-autosizing.stderr Further improve error message for E0081 2022-08-07 17:43:52 +02:00
enum-discrim-too-small.rs Remove licenses 2018-12-25 21:08:33 -07:00
enum-discrim-too-small.stderr Remove licenses 2018-12-25 21:08:33 -07:00
enum-discrim-too-small2.rs Place types inside backticks 2019-04-30 22:43:51 +01:00
enum-discrim-too-small2.stderr Improve error and help messages 2021-02-13 21:42:32 -08:00
enum-in-scope.rs Remove licenses 2018-12-25 21:08:33 -07:00
enum-in-scope.stderr Update tests 2019-03-11 23:10:26 +03:00
enum-size-variance.rs Remove licenses 2018-12-25 21:08:33 -07:00
enum-size-variance.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
enum-to-float-cast-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
enum-to-float-cast-2.stderr Update tests 2019-03-11 23:10:26 +03:00
enum-to-float-cast.rs Remove licenses 2018-12-25 21:08:33 -07:00
enum-to-float-cast.stderr Update tests 2019-03-11 23:10:26 +03:00
enum-variant-type-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
enum-variant-type-2.stderr update ui tests 2019-10-16 13:56:14 +02:00
issue-42747.rs Move some tests to more reasonable directories 2021-11-06 15:35:20 -03:00
issue-67945-1.rs update tests 2020-12-26 18:24:10 +01:00
issue-67945-1.stderr feature(const_generics) -> feature(const_param_types) 2021-08-30 11:00:21 +02:00
issue-67945-2.rs update tests 2020-12-26 18:24:10 +01:00
issue-67945-2.stderr feature(const_generics) -> feature(const_param_types) 2021-08-30 11:00:21 +02:00
nested-enum.rs Add error reporting on nested keywords inside 'enum' definition 2019-11-23 03:41:12 +01:00
nested-enum.stderr Add error reporting on nested keywords inside 'enum' definition 2019-11-23 03:41:12 +01:00
suggest-default-attribute.rs suggest adding a derive for #[default] applied to variants 2022-07-07 04:57:01 +00:00
suggest-default-attribute.stderr suggest adding a derive for #[default] applied to variants 2022-07-07 04:57:01 +00:00
union-in-enum.rs accept union inside enum if not followed by identifier 2019-12-06 10:52:28 +05:30