aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-02-15 10:52:28 +0100
committerCohenArthur <arthur.cohen@embecosm.com>2023-02-15 13:56:17 +0000
commitd6e33adc7174bfd52afc47cd5792320ca42e13fd (patch)
tree755c2122cc3526977a5e69e45e2db07a41fd34be /gcc/rust/backend
parent64ea37670afb4a5e57f019687c6f6e8bf261d4a9 (diff)
downloadgcc-d6e33adc7174bfd52afc47cd5792320ca42e13fd.zip
gcc-d6e33adc7174bfd52afc47cd5792320ca42e13fd.tar.gz
gcc-d6e33adc7174bfd52afc47cd5792320ca42e13fd.tar.bz2
builtins: Return empty list of tokens instead of nullptr
gcc/rust/ChangeLog: * expand/rust-macro-builtins.cc (MacroBuiltin::include_handler): Do not return nullptr token in expansion of `include!()` gcc/testsuite/ChangeLog: * rust/compile/empty.in: New test. * rust/compile/include_empty.rs: New test.
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions