aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorDavid Faust <david.faust@oracle.com>2022-05-10 11:52:44 -0700
committerDavid Faust <david.faust@oracle.com>2022-05-11 09:29:55 -0700
commit5aa411c537289f5695b63de12b973415b2d830d6 (patch)
tree66278e6fc22996db0395061b10308d91329c1edf /gcc/rust/backend/rust-compile-resolve-path.cc
parent502c8a859750064103bb71f4d559cef7b1c1b8af (diff)
downloadgcc-5aa411c537289f5695b63de12b973415b2d830d6.zip
gcc-5aa411c537289f5695b63de12b973415b2d830d6.tar.gz
gcc-5aa411c537289f5695b63de12b973415b2d830d6.tar.bz2
Allow match on primitive types
This patch enables compiling match expressions for other primitive types, like int and char. However, we cannot currently compile matches on floats; CASE_LABEL_EXPR doesn't support floating-point types.
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions