Add a test for #3092
This commit is contained in:
parent
c4a8cdcdf1
commit
476992a15d
@ -106,3 +106,12 @@ trait Foo<'a> {
|
||||
impl<'a> Foo<'a> for i32 {
|
||||
type Bar< 'a > = i32;
|
||||
}
|
||||
|
||||
// #3092
|
||||
pub mod test {
|
||||
pub trait ATraitWithALooongName {}
|
||||
pub trait ATrait
|
||||
:ATraitWithALooongName + ATraitWithALooongName + ATraitWithALooongName + ATraitWithALooongName
|
||||
{
|
||||
}
|
||||
}
|
||||
|
@ -144,3 +144,15 @@ trait Foo<'a> {
|
||||
impl<'a> Foo<'a> for i32 {
|
||||
type Bar<'a> = i32;
|
||||
}
|
||||
|
||||
// #3092
|
||||
pub mod test {
|
||||
pub trait ATraitWithALooongName {}
|
||||
pub trait ATrait:
|
||||
ATraitWithALooongName
|
||||
+ ATraitWithALooongName
|
||||
+ ATraitWithALooongName
|
||||
+ ATraitWithALooongName
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user