mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-23 04:09:42 -05:00
gccrs: ast: Dump trait object type one bound
gcc/rust/ChangeLog: * ast/rust-ast-dump.cc (Dump::visit): Add missing visitor. Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
This commit is contained in:
committed by
Arthur Cohen
parent
e311e9b7c5
commit
0bb33cb574
@@ -1656,8 +1656,15 @@ Dump::visit (ImplTraitTypeOneBound &type)
|
||||
}
|
||||
|
||||
void
|
||||
Dump::visit (TraitObjectTypeOneBound &)
|
||||
{}
|
||||
Dump::visit (TraitObjectTypeOneBound &type)
|
||||
{
|
||||
// Syntax:
|
||||
// dyn? TraitBound
|
||||
|
||||
if (type.is_dyn ())
|
||||
stream << "dyn ";
|
||||
visit(type.get_trait_bound());
|
||||
}
|
||||
|
||||
void
|
||||
Dump::visit (TupleType &type)
|
||||
|
||||
Reference in New Issue
Block a user