about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorYacin Tmimi <yacintmimi@gmail.com>2023-02-07 18:43:07 -0500
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2023-06-19 10:12:19 -0500
commit2c30fa5a8292ab5d32a3b1129c9ab897897b1689 (patch)
tree6d8a3a6b946eb37e281b10eb1625e4a89b2e79ee /library/std/src/sys/unix/stack_overflow.rs
parentac2ebd3a78246d2dab16aec39d2aaace618a17eb (diff)
downloadrust-2c30fa5a8292ab5d32a3b1129c9ab897897b1689.tar.gz
rust-2c30fa5a8292ab5d32a3b1129c9ab897897b1689.zip
Adjust enum variant spans to exclude any explicit discriminant
Fixes 5686

For reference, explicit discriminants were proposed in [RFC-2363].

`ast::Variant` spans extend to include explicit discriminants when they
are present.

Now we'll adjust the span of enum variants to exclude any explicit
discriminant.

[RFC-2363]: https://rust-lang.github.io/rfcs/2363-arbitrary-enum-discriminant.html
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions