aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-09-17 10:05:59 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2023-01-31 14:16:51 +0100
commit408ab8a6e412270996ec10369b778cfcb3946ae5 (patch)
tree07a23c0dbd1b06a749bcda94ae95ee015c6e4977 /gcc/rust/backend
parent70fc174b78a2df9cd31fb1ec054d9d8c641b78af (diff)
downloadgcc-408ab8a6e412270996ec10369b778cfcb3946ae5.zip
gcc-408ab8a6e412270996ec10369b778cfcb3946ae5.tar.gz
gcc-408ab8a6e412270996ec10369b778cfcb3946ae5.tar.bz2
gccrs: Statics are a coercion site
Statics can be assigned to a block expression meaning they need to behave similarly to constant items. gcc/rust/ChangeLog: * typecheck/rust-hir-type-check-toplevel.cc (TypeCheckTopLevel::visit): Make static items behave more similarly to const items.
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions