rust/src/test/ui/enum
Bryysen f671bc969f Improve error message for E0081
Previously whenever a duplicate discriminant was detected for an Enum,
we would print the discriminant bits in the diagnostic without any
casting. This caused us to display incorrect values for negative
discriminants. After this PR we format the discriminant signedness
correctly. Also reworded some of the original error
messages.
2022-05-28 23:05:45 +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 Improve error message for E0081 2022-05-28 23:05:45 +02:00
enum-discrim-autosizing.stderr Improve error message for E0081 2022-05-28 23:05:45 +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
union-in-enum.rs accept union inside enum if not followed by identifier 2019-12-06 10:52:28 +05:30