mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-24 12:54:00 +00:00
Add a test for #2055
This commit is contained in:
parent
560f66cfe3
commit
38a5350dcd
@ -57,3 +57,11 @@ trait X /* comment */ {}
|
||||
trait Y // comment
|
||||
{
|
||||
}
|
||||
|
||||
// #2055
|
||||
pub trait Foo:
|
||||
// A and C
|
||||
A + C
|
||||
// and B
|
||||
+ B
|
||||
{}
|
||||
|
@ -84,3 +84,11 @@ trait X /* comment */ {}
|
||||
trait Y // comment
|
||||
{
|
||||
}
|
||||
|
||||
// #2055
|
||||
pub trait Foo:
|
||||
// A and C
|
||||
A + C
|
||||
// and B
|
||||
+ B
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user