rust/tests/ui/transmutability
Bryan Garza 36febe1f4d Improve safe transmute error reporting
This patch updates the error reporting when Safe Transmute is not
possible between 2 types by including the reason.

Also, fix some small bugs that occur when computing the `Answer` for
transmutability.
2023-04-13 21:57:08 +00:00
..
abstraction Move /src/test to /tests 2023-01-11 09:32:08 +00:00
arrays Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
enums Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
malformed-program-gracefulness Render missing generics suggestion verbosely 2023-01-12 22:04:30 +00:00
primitives Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
structs Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
unions Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
visibility Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
issue-101739-1.rs Use param's real type in try_eval_lit_or_param 2023-03-09 20:49:11 +00:00
issue-101739-1.stderr Note type mismatch on ConstArgHasType 2023-03-23 19:09:34 +00:00
issue-101739-2.rs diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
issue-101739-2.stderr diagnostics: remove inconsistent English article "this" from E0107 2023-02-23 10:27:06 -07:00
references.current.stderr Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
references.next.stderr Improve safe transmute error reporting 2023-04-13 21:57:08 +00:00
references.rs tests 2023-04-10 16:08:14 +00:00