Add GUI test for trait bounds display
This commit is contained in:
parent
590c01a5c5
commit
eec3c3db88
2 changed files with 41 additions and 0 deletions
|
@ -614,3 +614,9 @@ pub mod private {
|
|||
B,
|
||||
}
|
||||
}
|
||||
|
||||
pub mod trait_bounds {
|
||||
pub trait OneBound: Sized {}
|
||||
pub trait TwoBounds: Sized + Copy {}
|
||||
pub trait ThreeBounds: Sized + Copy + Eq {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue