aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
-rw-r--r--gcc/rust/parse/rust-parse-impl.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/rust/parse/rust-parse-impl.h b/gcc/rust/parse/rust-parse-impl.h
index 7f0db1b..f1d376a 100644
--- a/gcc/rust/parse/rust-parse-impl.h
+++ b/gcc/rust/parse/rust-parse-impl.h
@@ -9065,7 +9065,8 @@ Parser<ManagedTokenSource>::parse_type ()
= parse_type_param_bounds ();
return std::unique_ptr<AST::TraitObjectType> (
- new AST::TraitObjectType (std::move (bounds), t->get_locus ()));
+ new AST::TraitObjectType (std::move (bounds), t->get_locus (),
+ false));
}
case IDENTIFIER:
case SUPER:
@@ -9152,7 +9153,7 @@ Parser<ManagedTokenSource>::parse_type ()
}
return std::unique_ptr<AST::TraitObjectType> (
- new AST::TraitObjectType (std::move (bounds), locus));
+ new AST::TraitObjectType (std::move (bounds), locus, false));
}
default:
// assume that this is a type path and not an error
@@ -9422,7 +9423,8 @@ Parser<ManagedTokenSource>::parse_paren_prefixed_type ()
}
return std::unique_ptr<AST::TraitObjectType> (
- new AST::TraitObjectType (std::move (bounds), left_delim_locus));
+ new AST::TraitObjectType (std::move (bounds), left_delim_locus,
+ false));
}
else
{
@@ -9532,7 +9534,7 @@ Parser<ManagedTokenSource>::parse_for_prefixed_type ()
}
return std::unique_ptr<AST::TraitObjectType> (
- new AST::TraitObjectType (std::move (bounds), for_locus));
+ new AST::TraitObjectType (std::move (bounds), for_locus, false));
}
default:
// error