File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -258,3 +258,8 @@ struct Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
258
258
struct Looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong { }
259
259
struct Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong { }
260
260
struct Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong { x : i32 }
261
+
262
+ // structs with visibility, do not duplicate visibility (#2110).
263
+ pub ( in self ) struct Foo ( ) ;
264
+ pub ( super ) struct Foo ( ) ;
265
+ pub ( crate ) struct Foo ( ) ;
Original file line number Diff line number Diff line change @@ -300,3 +300,8 @@ struct Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
300
300
{
301
301
x : i32 ,
302
302
}
303
+
304
+ // structs with visibility, do not duplicate visibility (#2110).
305
+ pub ( in self ) struct Foo ( ) ;
306
+ pub ( super ) struct Foo ( ) ;
307
+ pub ( crate ) struct Foo ( ) ;
You can’t perform that action at this time.
0 commit comments