diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-11-20 01:44:28 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-21 12:32:58 +0100 |
commit | 1d628b8920ebf3d2c4244b02ab91297b5a0151dd (patch) | |
tree | fbea5f08f1073eae8b57735f4e63faf9072099ba /gcc/rust/backend | |
parent | b3246d3ff22035cff465e75ebe42ff2be4ce46d2 (diff) | |
download | gcc-1d628b8920ebf3d2c4244b02ab91297b5a0151dd.zip gcc-1d628b8920ebf3d2c4244b02ab91297b5a0151dd.tar.gz gcc-1d628b8920ebf3d2c4244b02ab91297b5a0151dd.tar.bz2 |
gccrs: 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')
0 files changed, 0 insertions, 0 deletions