rust/tests/ui/transmutability
Matthias Krüger c0bedb9e5e
Rollup merge of #129246 - BoxyUwU:feature_gate_const_arg_path, r=cjgillot
Retroactively feature gate `ConstArgKind::Path`

This puts the lowering introduced by #125915 under a feature gate until we fix the regressions introduced by it. Alternative to whole sale reverting the PR since it didn't seem like a very clean revert and I think this is generally a step in the right direction and don't want to get stuck landing and reverting the PR over and over :)

cc #129137 ``@camelid,`` tests taken from there. beta is branching soon so I think it makes sense to not try and rush that fix through since it wont have much time to bake and if it has issues we can't simply revert it on beta.

Fixes #128016
2024-08-24 22:14:12 +02:00
..
abstraction
alignment Safe Transmute: lowercase diagnostics 2024-03-15 17:55:49 +00:00
arrays safe transmute: gracefully bubble-up layout errors 2024-08-21 18:06:02 +00:00
enums safe transmute: support non-ZST, variantful, uninhabited enums 2024-06-14 21:11:08 +00:00
malformed-program-gracefulness safe transmute: gracefully bubble-up layout errors 2024-08-21 18:06:02 +00:00
primitives Fix test problems discovered by the revision check 2024-05-09 14:47:09 +10:00
references safe transmute: forbid reference lifetime extension 2024-08-18 18:31:06 +00:00
safety
structs safe transmute: gracefully bubble-up layout errors 2024-08-21 18:06:02 +00:00
unions Compute transmutability from rustc_target::abi::Layout 2024-04-08 15:36:52 +00:00
issue-101739-1.rs Retroactively feature gate ConstArgKind::Path 2024-08-19 01:14:22 +01:00
issue-101739-1.stderr Retroactively feature gate ConstArgKind::Path 2024-08-19 01:14:22 +01:00
issue-101739-2.rs Retroactively feature gate ConstArgKind::Path 2024-08-19 01:14:22 +01:00
issue-101739-2.stderr Retroactively feature gate ConstArgKind::Path 2024-08-19 01:14:22 +01:00
issue-110467.rs
issue-110892.rs
issue-110892.stderr
maybeuninit.rs Compute transmutability from rustc_target::abi::Layout 2024-04-08 15:36:52 +00:00
maybeuninit.stderr Compute transmutability from rustc_target::abi::Layout 2024-04-08 15:36:52 +00:00
region-infer.rs
region-infer.stderr Safe Transmute: lowercase diagnostics 2024-03-15 17:55:49 +00:00
transmute-padding-ice.rs Compute transmutability from rustc_target::abi::Layout 2024-04-08 15:36:52 +00:00
uninhabited.rs safe transmute: support non-ZST, variantful, uninhabited enums 2024-06-14 21:11:08 +00:00
uninhabited.stderr safe transmute: support non-ZST, variantful, uninhabited enums 2024-06-14 21:11:08 +00:00