summary refs log tree commit diff
path: root/src/test/ui/transmutability
AgeCommit message (Collapse)AuthorLines
2022-08-30Rollup merge of #100155 - compiler-errors:issue-100154, r=jackh726Dylan DPC-2/+2
Use `node_type_opt` to skip over generics that were not expected Fixes #100154
2022-07-27safe transmute: reference tracking issueJack Wrenn-1/+14
ref: https://github.com/rust-lang/rust/pull/92268#discussion_r925266769
2022-07-27safe transmute: add `rustc_on_unimplemented` to `BikeshedIntrinsicFrom`Jack Wrenn-364/+482
ref: https://github.com/rust-lang/rust/pull/92268#discussion_r925266583
2022-07-27safe transmute: test to ensure that trait is correctly feature-gatedJack Wrenn-0/+17
ref: https://github.com/rust-lang/rust/pull/92268#discussion_r925265476
2022-07-27safe transmute: test when `ASSUME` params are passed indirectlyJack Wrenn-0/+73
ref: https://github.com/rust-lang/rust/pull/92268/files#r925258420
2022-07-27safe transmute: gracefully handle const params of wrong typesJack Wrenn-0/+67
ref: https://github.com/rust-lang/rust/pull/92268/files#r925244819
2022-07-27Initial (incomplete) implementation of transmutability trait.Jack Wrenn-0/+3840
This initial implementation handles transmutations between types with specified layouts, except when references are involved. Co-authored-by: Igor null <m1el.2027@gmail.com>