aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-10-22 10:44:54 +0000
committerGitHub <noreply@github.com>2021-10-22 10:44:54 +0000
commitdf61b8f0ee5c419c4d1b1dcdfc06812646d9f2f9 (patch)
treede1d922ba355dfb5be7ce2205ceb2a3ec4d8848a /gcc/rust/backend
parent86ec0383d45b3339edd0583452d8bc3a0a3cddca (diff)
parent4eb4684eba1abaa71aef19a898b1c7902222dc48 (diff)
downloadgcc-df61b8f0ee5c419c4d1b1dcdfc06812646d9f2f9.zip
gcc-df61b8f0ee5c419c4d1b1dcdfc06812646d9f2f9.tar.gz
gcc-df61b8f0ee5c419c4d1b1dcdfc06812646d9f2f9.tar.bz2
Merge #761
761: Squash unused parameter warning. r=philberty a=philberty This should fix out bootstrap build again. Fixes #750 Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend')
-rw-r--r--gcc/rust/backend/rust-compile-context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-context.h b/gcc/rust/backend/rust-compile-context.h
index fd2c0b5..71baa7c 100644
--- a/gcc/rust/backend/rust-compile-context.h
+++ b/gcc/rust/backend/rust-compile-context.h
@@ -660,7 +660,7 @@ public:
ctx->insert_compiled_type (type.get_ty_ref (), named_struct, &type);
}
- void visit (const TyTy::ClosureType &type) override { gcc_unreachable (); }
+ void visit (const TyTy::ClosureType &) override { gcc_unreachable (); }
private:
TyTyResolveCompile (Context *ctx, bool trait_object_mode)