From 5592782b20049d49bafae8f570606fbcd302d948 Mon Sep 17 00:00:00 2001 From: Ali MJ Al-Nasrawy Date: Fri, 29 Jul 2022 22:37:26 +0300 Subject: [PATCH] don't rely on a rustc bug context: https://github.com/rust-lang/rust/pull/98835 --- core/src/display_object/movie_clip.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/display_object/movie_clip.rs b/core/src/display_object/movie_clip.rs index 49a722d9ac23..492b2ccbf7ba 100644 --- a/core/src/display_object/movie_clip.rs +++ b/core/src/display_object/movie_clip.rs @@ -1307,7 +1307,7 @@ impl<'gc> MovieClip<'gc> { frame_pos = reader.get_ref().as_ptr() as u64 - tag_stream_start; use swf::TagCode; - let tag_callback = |reader: &mut SwfStream<'gc>, tag_code, tag_len| match tag_code { + let tag_callback = |reader: &mut _, tag_code, tag_len| match tag_code { TagCode::PlaceObject => { index += 1; let mut mc = self.0.write(context.gc_context);