mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-21 04:03:11 +00:00
parent
0f24bc0d44
commit
a6d609b45e
@ -72,6 +72,11 @@ trait Foo {
|
||||
type IteRev = <MergingUntypedTimeSeries<SliceSeries<SliceWindow>> as UntypedTimeSeries>::IterRev;
|
||||
}
|
||||
|
||||
// #2331
|
||||
trait MyTrait<AAAAAAAAAAAAAAAAAAAA, BBBBBBBBBBBBBBBBBBBB, CCCCCCCCCCCCCCCCCCCC, DDDDDDDDDDDDDDDDDDDD> {
|
||||
fn foo() {}
|
||||
}
|
||||
|
||||
// Trait aliases
|
||||
trait FooBar =
|
||||
Foo
|
||||
|
@ -29,11 +29,13 @@ where
|
||||
|
||||
// #1369
|
||||
impl<ExcessivelyLongGenericName, ExcessivelyLongGenericName, AnotherExcessivelyLongGenericName> Foo
|
||||
for Bar {
|
||||
for Bar
|
||||
{
|
||||
fn foo() {}
|
||||
}
|
||||
impl Foo<ExcessivelyLongGenericName, ExcessivelyLongGenericName, AnotherExcessivelyLongGenericName>
|
||||
for Bar {
|
||||
for Bar
|
||||
{
|
||||
fn foo() {}
|
||||
}
|
||||
impl<
|
||||
@ -41,7 +43,8 @@ impl<
|
||||
ExcessivelyLongGenericName,
|
||||
AnotherExcessivelyLongGenericName,
|
||||
> Foo<ExcessivelyLongGenericName, ExcessivelyLongGenericName, AnotherExcessivelyLongGenericName>
|
||||
for Bar {
|
||||
for Bar
|
||||
{
|
||||
fn foo() {}
|
||||
}
|
||||
impl<ExcessivelyLongGenericName, ExcessivelyLongGenericName, AnotherExcessivelyLongGenericName> Foo
|
||||
|
@ -27,11 +27,13 @@ where
|
||||
|
||||
// #1369
|
||||
impl<ExcessivelyLongGenericName, ExcessivelyLongGenericName, AnotherExcessivelyLongGenericName> Foo
|
||||
for Bar {
|
||||
for Bar
|
||||
{
|
||||
fn foo() {}
|
||||
}
|
||||
impl Foo<ExcessivelyLongGenericName, ExcessivelyLongGenericName, AnotherExcessivelyLongGenericName>
|
||||
for Bar {
|
||||
for Bar
|
||||
{
|
||||
fn foo() {}
|
||||
}
|
||||
impl<
|
||||
@ -39,7 +41,8 @@ impl<
|
||||
ExcessivelyLongGenericName,
|
||||
AnotherExcessivelyLongGenericName,
|
||||
> Foo<ExcessivelyLongGenericName, ExcessivelyLongGenericName, AnotherExcessivelyLongGenericName>
|
||||
for Bar {
|
||||
for Bar
|
||||
{
|
||||
fn foo() {}
|
||||
}
|
||||
impl<ExcessivelyLongGenericName, ExcessivelyLongGenericName, AnotherExcessivelyLongGenericName> Foo
|
||||
|
@ -141,11 +141,13 @@ mod m {
|
||||
}
|
||||
|
||||
impl<BorrowType, K, V, NodeType, HandleType>
|
||||
Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType> {
|
||||
Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType>
|
||||
{
|
||||
}
|
||||
|
||||
impl<BorrowType, K, V, NodeType, HandleType> PartialEq
|
||||
for Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType> {
|
||||
for Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType>
|
||||
{
|
||||
}
|
||||
|
||||
mod x {
|
||||
@ -160,7 +162,8 @@ mod x {
|
||||
}
|
||||
|
||||
impl<ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNodeFoo>
|
||||
Issue1249<ConcreteThreadSafeLayoutNode> {
|
||||
Issue1249<ConcreteThreadSafeLayoutNode>
|
||||
{
|
||||
// Creates a new flow constructor.
|
||||
fn foo() {}
|
||||
}
|
||||
|
@ -100,6 +100,17 @@ trait Foo {
|
||||
<MergingUntypedTimeSeries<SliceSeries<SliceWindow>> as UntypedTimeSeries>::IterRev;
|
||||
}
|
||||
|
||||
// #2331
|
||||
trait MyTrait<
|
||||
AAAAAAAAAAAAAAAAAAAA,
|
||||
BBBBBBBBBBBBBBBBBBBB,
|
||||
CCCCCCCCCCCCCCCCCCCC,
|
||||
DDDDDDDDDDDDDDDDDDDD,
|
||||
> {
|
||||
fn foo() {}
|
||||
}
|
||||
|
||||
|
||||
// Trait aliases
|
||||
trait FooBar = Foo + Bar;
|
||||
trait FooBar<A, B, C> = Foo + Bar;
|
||||
|
Loading…
Reference in New Issue
Block a user