aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-ast-lower-expr.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2024-05-20 13:29:51 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:32 +0100
commit997fa94b5276766acb40dd502eb606d5e220e918 (patch)
treeb189df5b83fc4b3cc71d3101a8824492f87511ff /gcc/rust/hir/rust-ast-lower-expr.cc
parent8cd5487f4415f1e6e392f24665a8befed6c894ad (diff)
downloadgcc-997fa94b5276766acb40dd502eb606d5e220e918.zip
gcc-997fa94b5276766acb40dd502eb606d5e220e918.tar.gz
gcc-997fa94b5276766acb40dd502eb606d5e220e918.tar.bz2
gccrs: Add two new tests related to may_dangle attribute
First test checks the may_dangle outer atttribute on generic params can be parsed. The second one tests whether may_dangle attributes are correctly feature gated. gcc/testsuite/ChangeLog: * rust/compile/dropck_eyepatch_feature_gate.rs: New test. * rust/compile/may_dangle.rs: New test. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/rust-ast-lower-expr.cc')
0 files changed, 0 insertions, 0 deletions