Update tests for traits with long bounds

The colon should be next to the ident instead of on the next line.
This commit is contained in:
Seiichi Uchida 2018-03-10 14:30:47 +09:00 committed by topecongiro
parent f1d29ff580
commit c7d7091772
2 changed files with 6 additions and 6 deletions

View File

@ -174,8 +174,8 @@ impl<#[may_dangle] K, #[may_dangle] V> Drop for RawTable<K, V> {
}
// #1168
pub trait Number
: Copy
pub trait Number:
Copy
+ Eq
+ Not<Output = Self>
+ Shl<u8, Output = Self>
@ -190,8 +190,8 @@ pub trait Number
}
// #1642
pub trait SomeTrait
: Clone
pub trait SomeTrait:
Clone
+ Eq
+ PartialEq
+ Ord

View File

@ -65,8 +65,8 @@ where
{
}
trait FooBar<T>
: Tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
trait FooBar<T>:
Tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
where
J: Bar,
{