diff options
author | SimplyTheOther <simplytheother@gmail.com> | 2020-12-14 15:41:48 +0800 |
---|---|---|
committer | SimplyTheOther <simplytheother@gmail.com> | 2020-12-14 15:41:48 +0800 |
commit | 52cc571b308d3d0103dd498fd277859e2116791a (patch) | |
tree | 46eb33355b3d0351d4743d19d1d5c46ae9d5677c /gcc/rust/ast/rust-expr.h | |
parent | 296916261846a9eaab03335d5e12a31271f2cf76 (diff) | |
download | gcc-52cc571b308d3d0103dd498fd277859e2116791a.zip gcc-52cc571b308d3d0103dd498fd277859e2116791a.tar.gz gcc-52cc571b308d3d0103dd498fd277859e2116791a.tar.bz2 |
Prevented several warnings about unused parameters
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
-rw-r--r-- | gcc/rust/ast/rust-expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h index cfffb38..f86aa54 100644 --- a/gcc/rust/ast/rust-expr.h +++ b/gcc/rust/ast/rust-expr.h @@ -1972,7 +1972,7 @@ class EnumExprFieldIdentifier : public EnumExprField Location locus; public: - EnumExprFieldIdentifier (Identifier field_identifier) + EnumExprFieldIdentifier (Identifier field_identifier, Location locus) : field_name (std::move (field_identifier)), locus (locus) {} |