about summary refs log tree commit diff
path: root/src/test/ui/structs-enums/tuple-struct-construct.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2019-07-05 23:59:59 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2019-07-07 11:31:38 -0700
commitd6a9793722c1ab6066f4f71224aac078b54f03c0 (patch)
tree5b5b0c2a6ca83be7756b4066ad26df4cc30a0ca3 /src/test/ui/structs-enums/tuple-struct-construct.rs
parent481068a707679257e2a738b40987246e0420e787 (diff)
downloadrust-d6a9793722c1ab6066f4f71224aac078b54f03c0.tar.gz
rust-d6a9793722c1ab6066f4f71224aac078b54f03c0.zip
Use const generics for array impls, restricted to 0..=32
- uses a never-stable core::array::LengthAtMost32 to bound the impls
- includes a custom error message to avoid mentioning LengthAtMost32 too often
- doesn't use macros for the slice implementations to avoid #62433
Diffstat (limited to 'src/test/ui/structs-enums/tuple-struct-construct.rs')
0 files changed, 0 insertions, 0 deletions