aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-parse.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-04-16 16:34:07 -0600
committerTom Tromey <tom@tromey.com>2021-04-16 16:34:07 -0600
commit458620aabb33d9b0efa61d0fb402c8d19e65eabd (patch)
tree6288adecad68c720deee525861c6eea24eed9fec /gdb/rust-parse.c
parent321d0cd7e78d6133cb0c607526c1f1fb380424ae (diff)
downloadbinutils-458620aabb33d9b0efa61d0fb402c8d19e65eabd.zip
binutils-458620aabb33d9b0efa61d0fb402c8d19e65eabd.tar.gz
binutils-458620aabb33d9b0efa61d0fb402c8d19e65eabd.tar.bz2
Fix syntax error in Rust test
The Rust test case simple.exp does: print slice as &[i32][0] However, this is a syntax error in Rust. Parens are needed around the "as". gdb/testsuite/ChangeLog 2021-04-16 Tom Tromey <tom@tromey.com> * gdb.rust/simple.exp: Add parens to 'as' test.
Diffstat (limited to 'gdb/rust-parse.c')
0 files changed, 0 insertions, 0 deletions