]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/associated-types-conditional-dispatch.rs
cleanup: s/impl Copy/#[derive(Copy)]/g
[rust.git] / src / test / run-pass / associated-types-conditional-dispatch.rs
index 3b53203d218e047bb746e24d8764fd89c0a98e3d..6d59161ff93456fdaf1163bc02cc17033d8b30e2 100644 (file)
 // `Target=[A]`, then the impl marked with `(*)` is seen to conflict
 // with all the others.
 
-#![feature(associated_types, default_type_params)]
-
 use std::ops::Deref;
 
-pub trait MyEq<Sized? U=Self> for Sized? {
+pub trait MyEq<U: ?Sized=Self> {
     fn eq(&self, u: &U) -> bool;
 }