about summary refs log tree commit diff
path: root/tests/ui/transmutability/primitives
AgeCommit message (Collapse)AuthorLines
2024-08-27safe transmute: Rename `BikeshedIntrinsicFrom` to `TransmuteFrom`Jack Wrenn-245/+245
As our implementation of MCP411 nears completion and we begin to solicit testing, it's no longer reasonable to expect testers to type or remember `BikeshedIntrinsicFrom`. The name degrades the ease-of-reading of documentation, and the overall experience of using compiler safe transmute. Tentatively, we'll instead adopt `TransmuteFrom`. This name seems to be the one most likely to be stabilized, after discussion on Zulip [1]. We may want to revisit the ordering of `Src` and `Dst` before stabilization, at which point we'd likely consider `TransmuteInto` or `Transmute`. [1] https://rust-lang.zulipchat.com/#narrow/stream/216762-project-safe-transmute/topic/What.20should.20.60BikeshedIntrinsicFrom.60.20be.20named.3F
2024-05-09Fix test problems discovered by the revision checkZalathar-3/+2
Most of these changes either add revision names that were apparently missing, or explicitly mark a revision name as currently unused.
2024-03-15Safe Transmute: lowercase diagnosticsJack Wrenn-119/+119
2024-03-11Remove some unnecessary allow(incomplete_features)Michael Goulet-229/+228
2024-03-10Ignore tests w/ current/next revisions from compare-mode=next-solverMichael Goulet-236/+239
2024-02-27safe transmute: revise safety analysisJack Wrenn-608/+604
Migrate to a simplified safety analysis that does not use visibility. Closes https://github.com/rust-lang/project-safe-transmute/issues/15
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-8/+8
2023-12-14update use of feature flagslcnr-4/+4
2023-11-24Show number in error message even for one errorNilstrieb-5/+5
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-05-24Safe Transmute: Check mutability before creating dst -> src obligationBryan Garza-8/+40
- Only create dst -> src obligation if Dst is mutable - Add some long comments to explain parts of the transmutability code that were unclear to me when reading - Update/add tests
2023-04-13Improve safe transmute error reportingBryan Garza-354/+236
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-10testsMichael Goulet-119/+1086
2023-02-21Specify what 'this' actually isMichael Goulet-59/+59
2023-01-11Move /src/test to /testsAlbert Larsan-0/+1141