aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-path.h
diff options
context:
space:
mode:
authorMuhammad Mahad <mahadtxt@gmail.com>2023-07-17 12:32:17 +0500
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:55:55 +0100
commit23aa4bd6c27a47756b10e6f3b73667f5a965b232 (patch)
treecbf63d624501ccc6a4c932cacff1d9a4d39e56f8 /gcc/rust/ast/rust-path.h
parent087ed58311d5831aa32088930e7b3ae3aa5a40a7 (diff)
downloadgcc-23aa4bd6c27a47756b10e6f3b73667f5a965b232.zip
gcc-23aa4bd6c27a47756b10e6f3b73667f5a965b232.tar.gz
gcc-23aa4bd6c27a47756b10e6f3b73667f5a965b232.tar.bz2
gccrs: [E0423] expected function, tuple struct or tuple variant, found struct
Give error when an identifier was used like a function name or a value was expected and the identifier exists but it belongs to a different namespace. gcc/rust/ChangeLog: * typecheck/rust-tyty-call.cc (TypeCheckCallExpr::visit): called error function. gcc/testsuite/ChangeLog: * rust/compile/found_struct.rs: New test. Signed-off-by: Muhammad Mahad <mahadtxt@gmail.com>
Diffstat (limited to 'gcc/rust/ast/rust-path.h')
0 files changed, 0 insertions, 0 deletions