diff options
Diffstat (limited to 'tests/source/impls.rs')
| -rw-r--r-- | tests/source/impls.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/source/impls.rs b/tests/source/impls.rs index 1c38a2ff284..17588fb9d35 100644 --- a/tests/source/impls.rs +++ b/tests/source/impls.rs @@ -122,3 +122,20 @@ impl<ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNodeFoo> Issue1249<ConcreteTh impl<#[may_dangle] K, #[may_dangle] V> Drop for RawTable<K, V> { fn drop() {} } + +// #1168 +pub trait Number: Copy + Eq + Not<Output = Self> + Shl<u8, Output = Self> + + Shr<u8, Output = Self> + + BitAnd<Self, Output=Self> + BitOr<Self, Output=Self> + BitAndAssign + BitOrAssign + + + +{ + // test + fn zero() -> Self; +} + +// #1642 +pub trait SomeTrait : Clone + Eq + PartialEq + Ord + PartialOrd + Default + Hash + Debug + Display + Write + Read + FromStr { + // comment +} |
