aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast-dump.cc
diff options
context:
space:
mode:
authorAbdul Rafey <abdulrafeyq@gmail.com>2023-01-29 17:05:23 +0530
committerArthur Cohen <arthur.cohen@embecosm.com>2023-04-06 10:47:18 +0200
commit760f529d8138b8b6afb6f17274af194d6fd5de12 (patch)
treee1bdd9fafddb6df18168c2d629e29bc23a3afe4b /gcc/rust/ast/rust-ast-dump.cc
parentd6cb04bf5c0d77f60572f6f076fb602a8aeabf98 (diff)
downloadgcc-760f529d8138b8b6afb6f17274af194d6fd5de12.zip
gcc-760f529d8138b8b6afb6f17274af194d6fd5de12.tar.gz
gcc-760f529d8138b8b6afb6f17274af194d6fd5de12.tar.bz2
gccrs: fixed compiler error message on wildcard pattern within expression
gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::null_denotation): Add proper error when seeing wildcard var on right side of assignment. gcc/testsuite/ChangeLog: * rust/compile/issue-867.rs: New test. Signed-off-by: Abdul Rafey <abdulrafeyq@gmail.com>
Diffstat (limited to 'gcc/rust/ast/rust-ast-dump.cc')
0 files changed, 0 insertions, 0 deletions