File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -260,6 +260,9 @@ struct Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
260
260
struct Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong { x : i32 }
261
261
262
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 { }
263
266
pub ( in self ) struct Foo ( ) ;
264
267
pub ( super ) struct Foo ( ) ;
265
268
pub ( crate ) struct Foo ( ) ;
Original file line number Diff line number Diff line change @@ -302,6 +302,9 @@ struct Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
302
302
}
303
303
304
304
// structs with visibility, do not duplicate visibility (#2110).
305
- pub ( in self ) struct Foo ( ) ;
305
+ pub ( self ) struct Foo { }
306
+ pub ( super ) struct Foo { }
307
+ pub ( crate ) struct Foo { }
308
+ pub ( self ) struct Foo ( ) ;
306
309
pub ( super ) struct Foo ( ) ;
307
310
pub ( crate ) struct Foo ( ) ;
You can’t perform that action at this time.
0 commit comments