diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-11-20 01:44:28 +0100 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-11-20 13:36:42 +0000 |
commit | d29ab973aee29d50de1d5ae9b4ffd38028379a0d (patch) | |
tree | 9321499c873455690b21b128c9c8b298dfe1cc95 /gcc/rust/backend/rust-compile-expr.cc | |
parent | e4b68a6cd5349ad153ac30cc2ddf668498255e2e (diff) | |
download | gcc-d29ab973aee29d50de1d5ae9b4ffd38028379a0d.zip gcc-d29ab973aee29d50de1d5ae9b4ffd38028379a0d.tar.gz gcc-d29ab973aee29d50de1d5ae9b4ffd38028379a0d.tar.bz2 |
Add optional template arguments to please GCC4.8
Clang on macos as well as GCC 4.8 complains when those templates are
missing.
gcc/rust/ChangeLog:
* hir/rust-ast-lower-expr.cc (ASTLoweringExpr::visit): Add template
to tl::optional.
* hir/rust-ast-lower-type.cc (ASTLowerGenericParam::visit): Likewise.
* typecheck/rust-hir-type-check-type.cc (TypeResolveGenericParam::visit):
Likewise.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.cc')
0 files changed, 0 insertions, 0 deletions