mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-01 09:33:26 +00:00
Add more tests
This commit is contained in:
parent
691bc3bbd7
commit
af3d793e30
@ -260,6 +260,9 @@ struct Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
|
||||
struct Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong { x: i32 }
|
||||
|
||||
// structs with visibility, do not duplicate visibility (#2110).
|
||||
pub(in self) struct Foo{}
|
||||
pub(super) struct Foo{}
|
||||
pub(crate) struct Foo{}
|
||||
pub(in self) struct Foo();
|
||||
pub(super) struct Foo();
|
||||
pub(crate) struct Foo();
|
||||
|
@ -302,6 +302,9 @@ struct Loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
|
||||
}
|
||||
|
||||
// structs with visibility, do not duplicate visibility (#2110).
|
||||
pub(in self) struct Foo();
|
||||
pub(self) struct Foo {}
|
||||
pub(super) struct Foo {}
|
||||
pub(crate) struct Foo {}
|
||||
pub(self) struct Foo();
|
||||
pub(super) struct Foo();
|
||||
pub(crate) struct Foo();
|
||||
|
Loading…
Reference in New Issue
Block a user