summaryrefslogtreecommitdiff
path: root/src/dump_as_rust.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dump_as_rust.cpp')
-rw-r--r--src/dump_as_rust.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dump_as_rust.cpp b/src/dump_as_rust.cpp
index f0355a6f..41043515 100644
--- a/src/dump_as_rust.cpp
+++ b/src/dump_as_rust.cpp
@@ -503,8 +503,8 @@ private:
m_os << ")";
}
- void print_params(const AST::TypeParams& params);
- void print_bounds(const AST::TypeParams& params);
+ void print_params(const AST::GenericParams& params);
+ void print_bounds(const AST::GenericParams& params);
void print_pattern(const AST::Pattern& p, bool is_refutable);
void print_type(const TypeRef& t);
@@ -642,7 +642,7 @@ void RustPrinter::handle_module(const AST::Module& mod)
}
}
-void RustPrinter::print_params(const AST::TypeParams& params)
+void RustPrinter::print_params(const AST::GenericParams& params)
{
if( params.ty_params().size() > 0 || params.lft_params().size() > 0 )
{
@@ -670,7 +670,7 @@ void RustPrinter::print_params(const AST::TypeParams& params)
}
}
-void RustPrinter::print_bounds(const AST::TypeParams& params)
+void RustPrinter::print_bounds(const AST::GenericParams& params)
{
if( params.bounds().size() )
{