diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2025-04-07 15:59:15 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2025-04-24 09:46:13 +0000 |
commit | 06b6c5559a895d13c609c2f933fad2ba5bbc0900 (patch) | |
tree | e87e0e158b449dc507fb5fbe935d528a965fe64c /gcc/errors.cc | |
parent | a7f51b8b4bf9708043ae35e7a8be8c77b29a11a7 (diff) | |
download | gcc-06b6c5559a895d13c609c2f933fad2ba5bbc0900.zip gcc-06b6c5559a895d13c609c2f933fad2ba5bbc0900.tar.gz gcc-06b6c5559a895d13c609c2f933fad2ba5bbc0900.tar.bz2 |
Remove error state for GenericArg
gcc/rust/ChangeLog:
* ast/rust-ast-collector.cc (TokenCollector::visit): Remove error kind
and change function call.
* ast/rust-ast-visitor.cc (DefaultASTVisitor::visit): Change call name.
* ast/rust-path.cc (ConstGenericParam::as_string): Likewise.
* ast/rust-path.h: Remove error kind.
* hir/rust-ast-lower-type.cc (ASTLowerGenericParam::visit): Change call
name.
* parse/rust-parse-impl.h (Parser::parse_generic_param): Use optional
on parsing failure.
(Parser::parse_generic_arg): Likewise.
(Parser::parse_path_generic_args): Likewise.
* parse/rust-parse.h: Likewise.
* resolve/rust-ast-resolve-type.h: Change call name.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/errors.cc')
0 files changed, 0 insertions, 0 deletions