File tree Expand file tree Collapse file tree 2 files changed +13
-18
lines changed
Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,10 @@ struct ClassMembers<'s> {
7474struct ClassMapping < ' s > {
7575 original : & ' s str ,
7676 members : HashMap < & ' s str , ClassMembers < ' s > > ,
77- // Note: It's currently unknown what effect a synthesized class has.
77+ #[ expect(
78+ unused,
79+ reason = "It is currently unknown what effect a synthesized class has."
80+ ) ]
7881 is_synthesized : bool ,
7982}
8083
Original file line number Diff line number Diff line change @@ -56,20 +56,18 @@ fn test_method_matches_callback_cache() {
5656
5757 assert_eq ! (
5858 mapped. next( ) . unwrap( ) ,
59- StackFrame :: with_file (
59+ StackFrame :: new (
6060 "io.sentry.samples.instrumentation.ui.EditActivity" ,
6161 "onCreate$lambda$1" ,
6262 37 ,
63- "EditActivity" ,
6463 )
6564 ) ;
6665 assert_eq ! (
6766 mapped. next( ) . unwrap( ) ,
68- StackFrame :: with_file (
67+ StackFrame :: new (
6968 "io.sentry.samples.instrumentation.ui.EditActivity$$InternalSyntheticLambda$1$ebaa538726b99bb77e0f5e7c86443911af17d6e5be2b8771952ae0caa4ff2ac7$0" ,
7069 "onMenuItemClick" ,
7170 0 ,
72- "EditActivity" ,
7371 )
7472 . with_synthesized( true )
7573 ) ;
@@ -146,38 +144,34 @@ fn test_method_matches_callback_extra_class_cache() {
146144
147145 assert_eq ! (
148146 mapped. next( ) . unwrap( ) ,
149- StackFrame :: with_file (
147+ StackFrame :: new (
150148 "io.sentry.samples.instrumentation.ui.TestSourceContext" ,
151149 "test2" ,
152150 10 ,
153- "TestSourceContext" ,
154151 )
155152 ) ;
156153 assert_eq ! (
157154 mapped. next( ) . unwrap( ) ,
158- StackFrame :: with_file (
155+ StackFrame :: new (
159156 "io.sentry.samples.instrumentation.ui.TestSourceContext" ,
160157 "test" ,
161158 6 ,
162- "TestSourceContext" ,
163159 )
164160 ) ;
165161 assert_eq ! (
166162 mapped. next( ) . unwrap( ) ,
167- StackFrame :: with_file (
163+ StackFrame :: new (
168164 "io.sentry.samples.instrumentation.ui.EditActivity" ,
169165 "onCreate$lambda$1" ,
170166 38 ,
171- "EditActivity" ,
172167 )
173168 ) ;
174169 assert_eq ! (
175170 mapped. next( ) . unwrap( ) ,
176- StackFrame :: with_file (
171+ StackFrame :: new (
177172 "io.sentry.samples.instrumentation.ui.EditActivity$$InternalSyntheticLambda$1$ebaa538726b99bb77e0f5e7c86443911af17d6e5be2b8771952ae0caa4ff2ac7$0" ,
178173 "onMenuItemClick" ,
179174 0 ,
180- "EditActivity" ,
181175 )
182176 . with_synthesized( true )
183177 ) ;
@@ -202,25 +196,23 @@ fn test_method_matches_callback_inner_class_mapper() {
202196 "io.sentry.samples.instrumentation.ui.EditActivity$InnerEditActivityClass" ,
203197 "testInner" ,
204198 19 ,
205- "EditActivity" ,
199+ "EditActivity.kt " ,
206200 )
207201 ) ;
208202 assert_eq ! (
209203 mapped. next( ) . unwrap( ) ,
210- StackFrame :: with_file (
204+ StackFrame :: new (
211205 "io.sentry.samples.instrumentation.ui.EditActivity" ,
212206 "onCreate$lambda$1" ,
213207 45 ,
214- "EditActivity" ,
215208 )
216209 ) ;
217210 assert_eq ! (
218211 mapped. next( ) . unwrap( ) ,
219- StackFrame :: with_file (
212+ StackFrame :: new (
220213 "io.sentry.samples.instrumentation.ui.EditActivity$$InternalSyntheticLambda$1$ebaa538726b99bb77e0f5e7c86443911af17d6e5be2b8771952ae0caa4ff2ac7$0" ,
221214 "onMenuItemClick" ,
222215 0 ,
223- "EditActivity" ,
224216 )
225217 . with_synthesized( true )
226218 ) ;
You can’t perform that action at this time.
0 commit comments