this crate uses feature negative_impls and auto_traits
You may want to do something like
;
but it wont work because it conflicts with implementation impl<T> From<T> for T {}
provided by core.
so we have to bound Foo<T> != Foo<U>
this crate provides trait NotEqual
(T, U): NotEqual is equivalent to T != U
so this will work
;
more simply...
;
this crate also provides Equal